Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001812/0.001812, allocations: 194.8 kB / 16.25 MB, free: 6.637 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5295, allocations: 140.4 MB / 0.9492 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001837/0.5314, allocations: 0.8855 MB / 0.9501 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.81e-05/0.5315, allocations: 37.34 kB / 0.9501 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.5316, allocations: 1.375 kB / 0.9501 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.5316, allocations: 11.92 kB / 0.9502 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.5317, allocations: 3.938 kB / 0.9502 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.328e-05/0.5318, allocations: 16.12 kB / 0.9502 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.5319, allocations: 64.53 kB / 0.9502 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.532, allocations: 44.41 kB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.91e-05/0.532, allocations: 22.8 kB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.5321, allocations: 29.3 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.5321, allocations: 5.5 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.5321, allocations: 6.875 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.5322, allocations: 18.67 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.5322, allocations: 37.28 kB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.406e-05/0.5323, allocations: 67.86 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5323, allocations: 0 / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5323, allocations: 0 / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5323, allocations: 1.375 kB / 0.9505 GB, free: 8.445 MB / 0.7169 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.0002879/0.5326, allocations: 385.1 kB / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5326, allocations: 13.56 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.5326, allocations: 37.5 kB / 0.9509 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.5327, allocations: 10.34 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.5328, allocations: 189.8 kB / 0.9511 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.5328, allocations: 7.125 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.5329, allocations: 5.875 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.533, allocations: 99.89 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.533, allocations: 3.938 kB / 0.9512 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.533, allocations: 1.375 kB / 0.9512 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.533, allocations: 1.375 kB / 0.9512 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.5331, allocations: 35.33 kB / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.5335, allocations: 441.8 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.5335, allocations: 40.73 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.5336, allocations: 23.38 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.5336, allocations: 1.594 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.5336, allocations: 34.56 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.5336, allocations: 1.188 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.5337, allocations: 62.5 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.5338, allocations: 78.33 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.5339, allocations: 162.4 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.5339, allocations: 26.89 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.5339, allocations: 103.8 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.5339, allocations: 9.578 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.534, allocations: 22 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.534, allocations: 316.3 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.534, allocations: 7.391 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.5341, allocations: 27.48 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.5341, allocations: 25.66 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5341, allocations: 4 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.572e-05/0.5342, allocations: 58.91 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5342, allocations: 9.719 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5342, allocations: 3.938 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.5342, allocations: 1.25 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.5343, allocations: 5.688 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5343, allocations: 1.375 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.5343, allocations: 1.25 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.5343, allocations: 1.562 kB / 0.9526 GB, free: 6.23 MB / 0.7169 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 4.253e-05/0.5344, allocations: 121.6 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.5344, allocations: 11.5 kB / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.5344, allocations: 11.34 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5344, allocations: 1.375 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5344, allocations: 0 / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5344, allocations: 1.156 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.5347, allocations: 474 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5347, allocations: 1.281 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.5347, allocations: 2.531 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5347, allocations: 5.234 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5348, allocations: 8 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5348, allocations: 1.375 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5348, allocations: 0 / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.831e-05/0.5348, allocations: 82.47 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.5349, allocations: 92.31 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.5349, allocations: 5.875 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.5349, allocations: 4 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.5349, allocations: 1.406 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-06/0.5349, allocations: 1.062 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.535, allocations: 120.1 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.535, allocations: 0.9375 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002057/0.5352, allocations: 6.938 kB / 0.9535 GB, free: 5.277 MB / 0.7169 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.0002384/0.5355, allocations: 0.6213 MB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.837e-05/0.5355, allocations: 18.47 kB / 0.9541 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5356, allocations: 4.156 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.5356, allocations: 12.08 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.5357, allocations: 7.672 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.5366, allocations: 1.353 MB / 0.9555 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.5367, allocations: 0.6945 MB / 0.9562 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.5367, allocations: 8.609 kB / 0.9562 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.5367, allocations: 27.05 kB / 0.9562 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5367, allocations: 0 / 0.9562 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3912/0.928, allocations: 1.457 MB / 0.9576 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.9282, allocations: 216.6 kB / 0.9578 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.991, allocations: 1.438 kB / 0.9578 GB, free: 1.652 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches