Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.191/2.191, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4746, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001695/0.4764, allocations: 0.8078 MB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.464e-05/0.4765, allocations: 45.28 kB / 0.9506 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.4765, allocations: 5.312 kB / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.4766, allocations: 3.938 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.921e-05/0.4767, allocations: 17.23 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.632e-05/0.4767, allocations: 18.73 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.4768, allocations: 56.61 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4769, allocations: 44.44 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.4769, allocations: 26.75 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.477, allocations: 33.28 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.477, allocations: 5.5 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.477, allocations: 6.875 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.477, allocations: 17.3 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.4771, allocations: 34.67 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.426e-05/0.4772, allocations: 67.81 kB / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4772, allocations: 0 / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4772, allocations: 0 / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.4772, allocations: 0 / 0.9509 GB, free: 8.285 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.0002814/0.4775, allocations: 386.8 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.4775, allocations: 9.25 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.4775, allocations: 44.84 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.4776, allocations: 10 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4777, allocations: 194.9 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.4777, allocations: 3.594 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.4777, allocations: 9.219 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4779, allocations: 98.89 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.4779, allocations: 3.938 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.4779, allocations: 0.8438 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4779, allocations: 2.812 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.478, allocations: 38.73 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.4783, allocations: 437.3 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.4784, allocations: 41.19 kB / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.4784, allocations: 16.31 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.4784, allocations: 3.938 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.061e-05/0.4784, allocations: 36.44 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.4784, allocations: 4 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001369/0.4786, allocations: 59.69 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.4786, allocations: 77.11 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.4787, allocations: 166.8 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.4787, allocations: 25.7 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.4788, allocations: 112 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.4788, allocations: 5.406 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.4788, allocations: 20.5 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.4788, allocations: 325.5 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.4788, allocations: 2.781 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.4789, allocations: 18.91 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.4789, allocations: 30.11 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4789, allocations: 1.719 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.516e-05/0.479, allocations: 58.52 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.479, allocations: 9.562 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.479, allocations: 0 / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.479, allocations: 0.9375 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4791, allocations: 9.125 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4791, allocations: 5.359 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.4791, allocations: 1.406 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.4792, allocations: 1.375 kB / 0.9531 GB, free: 6.059 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.788e-05/0.4792, allocations: 118.2 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.4792, allocations: 11.66 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.4793, allocations: 11.06 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4793, allocations: 0 / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4793, allocations: 1.344 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4793, allocations: 5.422 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4795, allocations: 469.2 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.4795, allocations: 1.344 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.4796, allocations: 6.188 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4796, allocations: 1.25 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.4796, allocations: 1.188 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4796, allocations: 0 / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4796, allocations: 0.875 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.367e-05/0.4796, allocations: 90.44 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4797, allocations: 92.83 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4797, allocations: 1.219 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.4797, allocations: 0 / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.4797, allocations: 9.234 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.4797, allocations: 5.312 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.4798, allocations: 118.6 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4798, allocations: 3.938 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001744/0.48, allocations: 6.625 kB / 0.954 GB, free: 5.105 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.0001865/0.4802, allocations: 0.624 MB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.4803, allocations: 18.48 kB / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4803, allocations: 0 / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.4803, allocations: 9.281 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4804, allocations: 12.44 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.4812, allocations: 1.321 MB / 0.9559 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.4813, allocations: 0.7031 MB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.4813, allocations: 4.5 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.4814, allocations: 26.23 kB / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.4814, allocations: 1.438 kB / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8666/1.348, allocations: 1.543 MB / 0.9581 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.513/10.86, allocations: 6.344 kB / 0.9581 GB, free: 1.641 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches