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.0009739/0.0009739, 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.001062/0.001062, allocations: 199.7 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.17/2.17, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001129, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5361, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00148/0.5376, allocations: 0.8238 MB / 0.9505 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.253e-05/0.5377, allocations: 32.8 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.5378, allocations: 1.5 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.5378, allocations: 12.88 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.5379, allocations: 11.86 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.181e-05/0.5379, allocations: 20.48 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.899e-05/0.538, allocations: 55.62 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.5381, allocations: 48.92 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.5381, allocations: 24.19 kB / 0.9507 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.5382, allocations: 32 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5382, allocations: 6.062 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.5382, allocations: 5.5 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.5382, allocations: 18.91 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.5382, allocations: 34.77 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.186e-05/0.5383, allocations: 74.45 kB / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.5383, allocations: 0 / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5383, allocations: 5.438 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.5383, allocations: 0 / 0.9509 GB, free: 8.289 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.0002254/0.5386, allocations: 382.4 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.522e-05/0.5386, allocations: 9.5 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.267e-05/0.5386, allocations: 37.25 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.5386, allocations: 12.72 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5387, allocations: 194.2 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.5388, allocations: 8.344 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.5388, allocations: 5 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.5389, allocations: 94.64 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.5389, allocations: 5.219 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.5389, allocations: 0 / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5389, allocations: 2.25 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.539, allocations: 36.67 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.5393, allocations: 444.8 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.045e-05/0.5393, allocations: 41.14 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.5394, allocations: 24.31 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-06/0.5394, allocations: 0 / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.5394, allocations: 36.44 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.5394, allocations: 0 / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001142/0.5395, allocations: 58.25 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.5395, allocations: 78.67 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.5396, allocations: 168.8 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.5396, allocations: 25.7 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.5397, allocations: 112.5 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.5397, allocations: 9.188 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.5397, allocations: 13.25 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.201e-05/0.5397, allocations: 324.3 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.5398, allocations: 8.688 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.5398, allocations: 17.91 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.5398, allocations: 34.55 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5398, allocations: 4 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.64e-05/0.5399, allocations: 51.7 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.5399, allocations: 9.375 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.5399, allocations: 0 / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.5399, allocations: 1.625 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.54, allocations: 12.66 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.54, allocations: 5.422 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.54, allocations: 1.656 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.54, allocations: 1.375 kB / 0.9531 GB, free: 6.066 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 3.742e-05/0.5401, allocations: 117.9 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.5401, allocations: 11.34 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/0.5401, allocations: 10.53 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5401, allocations: 1 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5401, allocations: 5.406 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5402, allocations: 3.984 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.5404, allocations: 475 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5404, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.5404, allocations: 2.688 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5404, allocations: 0.9375 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.5404, allocations: 1.594 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5404, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5404, allocations: 5.406 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.807e-05/0.5405, allocations: 82.3 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.5405, allocations: 91.73 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.5405, allocations: 1 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.5406, allocations: 0.8125 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-06/0.5406, allocations: 5.422 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.5406, allocations: 5.375 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.5406, allocations: 118.7 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5406, allocations: 1.094 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001731/0.5408, allocations: 7.031 kB / 0.954 GB, free: 5.117 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.0001711/0.541, allocations: 0.6195 MB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.395e-05/0.5411, allocations: 18.8 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.5411, allocations: 0 / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.5411, allocations: 7.656 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.5412, allocations: 9.688 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/0.5419, allocations: 1.32 MB / 0.9559 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.542, allocations: 0.702 MB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.542, allocations: 5.062 kB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.542, allocations: 26.3 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.542, allocations: 0 / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.039/1.581, allocations: 1.547 MB / 0.9581 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.869/11.45, allocations: 18.25 kB / 0.9581 GB, free: 1.648 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