Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001866/0.001866, allocations: 116.6 kB / 16.37 MB, free: 6.012 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.001991/0.001991, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 60.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002327/0.3685, allocations: 0.837 MB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.3686, allocations: 47.78 kB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.3687, allocations: 0 / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.3687, allocations: 7.875 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.3688, allocations: 11.86 kB / 1.028 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.042e-05/0.3689, allocations: 15.98 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.369, allocations: 71.83 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3692, allocations: 35.97 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.3692, allocations: 27.86 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.3693, allocations: 31.73 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3693, allocations: 12 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.3693, allocations: 4 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.3694, allocations: 19.92 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.3694, allocations: 31.8 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3695, allocations: 71.7 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3696, allocations: 0 / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3696, allocations: 0 / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3696, allocations: 0 / 1.028 GB, free: 0.8438 MB / 0.795 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.0004719/0.3701, allocations: 371.2 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3701, allocations: 12.73 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3701, allocations: 16.84 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3704, allocations: 188.2 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3704, allocations: 12.28 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3704, allocations: 8.375 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3706, allocations: 91.89 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3706, allocations: 4.125 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3706, allocations: 7.938 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3707, allocations: 3.984 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.3707, allocations: 39.98 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.3713, allocations: 436.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.3714, allocations: 37.09 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.3714, allocations: 25.84 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3715, allocations: 3.984 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3715, allocations: 38.58 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3715, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3717, allocations: 57.48 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3718, allocations: 81.36 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.372, allocations: 163.9 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.372, allocations: 25.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3721, allocations: 108 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.3721, allocations: 3.906 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3721, allocations: 17.72 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3723, allocations: 322.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.3723, allocations: 4 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3723, allocations: 21.72 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.3724, allocations: 29.64 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3724, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.087e-05/0.3724, allocations: 53.61 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3725, allocations: 8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3725, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3725, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.3726, allocations: 19.98 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3726, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.3726, allocations: 7.844 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.3726, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 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 9.898e-05/0.3727, allocations: 117.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.3728, allocations: 11.91 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.3728, allocations: 11.81 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3728, allocations: 7.984 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3728, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3729, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.3733, allocations: 466.8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3733, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.3733, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3733, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3733, allocations: 7.875 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3733, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3733, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3734, allocations: 93.83 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.3735, allocations: 81.02 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3735, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.3736, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.3736, allocations: 3.984 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.3736, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.3737, allocations: 129.7 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3737, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002025/0.3739, allocations: 8 kB / 1.031 GB, free: 13.36 MB / 0.8106 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.0001228/0.374, allocations: 97.92 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.98e-05/0.3741, allocations: 19.94 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3741, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.3741, allocations: 4.188 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.3743, allocations: 19.94 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.3747, allocations: 162.8 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.375, allocations: 0.6885 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3751, allocations: 8.422 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3751, allocations: 15.44 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3751, allocations: 3.938 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.002639/0.3778, allocations: 448.6 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches