Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005371/0.005371, allocations: 100.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 199 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 64.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001829/0.2904, allocations: 0.8389 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.886e-05/0.2905, allocations: 39.78 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.2906, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.2906, allocations: 15.88 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.2907, allocations: 7.922 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.363e-05/0.2908, allocations: 19.98 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.2909, allocations: 59.78 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.291, allocations: 55.86 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.2911, allocations: 19.86 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2911, allocations: 35.84 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2911, allocations: 4 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.2911, allocations: 8 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.2912, allocations: 7.938 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.2912, allocations: 47.66 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2913, allocations: 67.66 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2913, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2913, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2914, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003975/0.2918, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.2918, allocations: 8.031 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.2918, allocations: 38.75 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2919, allocations: 12.84 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2921, allocations: 196.2 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2921, allocations: 8.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2921, allocations: 8.312 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.2923, allocations: 99.86 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2923, allocations: 3.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2923, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2923, allocations: 11.92 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.2924, allocations: 27.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.2929, allocations: 432.6 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.2929, allocations: 45.28 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.293, allocations: 21.84 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.293, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.293, allocations: 30.56 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.293, allocations: 7.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.2932, allocations: 57.58 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.2932, allocations: 81.05 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2934, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2934, allocations: 25.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.2934, allocations: 96.09 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.2935, allocations: 11.94 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2935, allocations: 21.92 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2936, allocations: 326.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.2937, allocations: 8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.2937, allocations: 13.72 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.2937, allocations: 25.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2937, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.003e-05/0.2938, allocations: 65.58 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2938, allocations: 7.938 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2939, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.2939, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.2939, allocations: 12 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2939, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.294, allocations: 3.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.294, allocations: 4 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.2941, allocations: 121.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2941, allocations: 15.95 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.2941, allocations: 7.875 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2941, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2941, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.2941, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.2945, allocations: 474.7 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2945, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.2946, allocations: 15.98 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2946, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.2946, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2946, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2946, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.2947, allocations: 73.89 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2947, allocations: 96.98 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2948, allocations: 4.031 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.2948, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-06/0.2948, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2948, allocations: 4 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.2949, allocations: 121.3 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001716/0.2951, allocations: 4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.2955, allocations: 0.6177 MB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.847e-05/0.2955, allocations: 27.86 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2955, allocations: 0 / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.2956, allocations: 4 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2957, allocations: 15.36 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2968, allocations: 1.334 MB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.2971, allocations: 0.6889 MB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.2972, allocations: 12.52 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2972, allocations: 23.44 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2972, allocations: 0 / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/1.314, allocations: 1.582 MB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/9.186, allocations: 8.672 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches