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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.00128, allocations: 108 kB / 15.61 MB, free: 152 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.001229/0.001229, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.617/1.617, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.492/2.492, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8714/0.8727, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002326/0.8751, allocations: 0.8184 MB / 0.9504 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.8752, allocations: 45.23 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.8753, allocations: 1.375 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.8753, allocations: 7.875 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.8754, allocations: 17.22 kB / 0.9504 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.754e-05/0.8755, allocations: 22.67 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.8756, allocations: 60.61 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.8758, allocations: 40.45 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.8758, allocations: 18.81 kB / 0.9506 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.8759, allocations: 37.22 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.8759, allocations: 5.5 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.876, allocations: 10.88 kB / 0.9506 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.876, allocations: 13.31 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.876, allocations: 34.67 kB / 0.9507 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.8761, allocations: 71.42 kB / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8761, allocations: 0 / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8761, allocations: 0 / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8762, allocations: 0 / 0.9507 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.0003947/0.8766, allocations: 378.5 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8766, allocations: 9.625 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.8767, allocations: 14.34 kB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.8768, allocations: 197.8 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.8768, allocations: 3.125 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.8769, allocations: 13.86 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.877, allocations: 86.45 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.877, allocations: 1.625 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8771, allocations: 11.92 kB / 0.9514 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8771, allocations: 1.719 kB / 0.9514 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.8771, allocations: 43.64 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.8776, allocations: 434 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.8777, allocations: 40.31 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.8777, allocations: 23.95 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.8777, allocations: 1.312 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8778, allocations: 32.16 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8778, allocations: 0 / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.878, allocations: 58.33 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.878, allocations: 82.95 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.8781, allocations: 158.7 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.8781, allocations: 29.7 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.8782, allocations: 113 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.8782, allocations: 5.094 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.8782, allocations: 21.05 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.8783, allocations: 321.1 kB / 0.9527 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.8783, allocations: 11.36 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.8784, allocations: 25.81 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.8784, allocations: 23.28 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8784, allocations: 0 / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.546e-05/0.8785, allocations: 62.62 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8785, allocations: 5.344 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8785, allocations: 5.156 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8785, allocations: 5.312 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.8786, allocations: 5.656 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8786, allocations: 0 / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.8786, allocations: 3.219 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.8787, allocations: 1.75 kB / 0.9529 GB, free: 6.109 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 5.701e-05/0.8787, allocations: 112.6 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.8788, allocations: 8.156 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.8788, allocations: 18.52 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8788, allocations: 0 / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8788, allocations: 5.438 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.8788, allocations: 0 / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.8791, allocations: 471 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8791, allocations: 0 / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.8792, allocations: 7.875 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8792, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.8792, allocations: 1.25 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8792, allocations: 1.562 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8792, allocations: 8.047 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.785e-05/0.8793, allocations: 77.97 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.8793, allocations: 96.12 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8793, allocations: 1.219 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.8794, allocations: 1.375 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.8794, allocations: 1.219 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8794, allocations: 5.406 kB / 0.9537 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.8795, allocations: 127.9 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8795, allocations: 3.938 kB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001859/0.8797, allocations: 6.469 kB / 0.9538 GB, free: 5.152 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.0001079/0.8798, allocations: 97.34 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.8799, allocations: 23.2 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8799, allocations: 128 / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.8799, allocations: 11.88 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.8801, allocations: 13.06 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.8804, allocations: 154.5 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.8805, allocations: 0.6988 MB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.8806, allocations: 3.781 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.8806, allocations: 15.41 kB / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8806, allocations: 0 / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.002755/0.8834, allocations: 455.3 kB / 0.9552 GB, free: 3.941 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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