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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001015, allocations: 99.34 kB / 16.02 MB, free: 76 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.001331/0.001331, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 16.28 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 142.4 MB / 0.9557 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0009896/0.7661, allocations: 0.537 MB / 0.9562 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.7663, allocations: 45.75 kB / 0.9563 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.7664, allocations: 5.188 kB / 0.9563 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.7664, allocations: 7.875 kB / 0.9563 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.7665, allocations: 9.234 kB / 0.9563 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/0.7666, allocations: 15.66 kB / 0.9563 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.7667, allocations: 51.19 kB / 0.9564 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.7669, allocations: 42.25 kB / 0.9564 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.7669, allocations: 18.27 kB / 0.9564 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.767, allocations: 23.31 kB / 0.9564 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.767, allocations: 1.844 kB / 0.9564 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.767, allocations: 2.156 kB / 0.9564 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.767, allocations: 10.45 kB / 0.9565 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.7671, allocations: 54.66 kB / 0.9565 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.088e-05/0.7672, allocations: 44.16 kB / 0.9566 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7672, allocations: 4 kB / 0.9566 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7672, allocations: 0 / 0.9566 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7672, allocations: 0 / 0.9566 GB, free: 7.316 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.0003489/0.7676, allocations: 369.9 kB / 0.9569 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.7676, allocations: 9.312 kB / 0.9569 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.7677, allocations: 13.22 kB / 0.9569 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.7678, allocations: 190.2 kB / 0.9571 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.7679, allocations: 7.812 kB / 0.9571 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.7679, allocations: 13.66 kB / 0.9571 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.768, allocations: 94.81 kB / 0.9572 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7681, allocations: 192 / 0.9572 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.7681, allocations: 5.125 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7681, allocations: 2.281 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.7682, allocations: 39.02 kB / 0.9573 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.7687, allocations: 438.5 kB / 0.9577 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.7688, allocations: 41.19 kB / 0.9577 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.7688, allocations: 19.61 kB / 0.9577 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.7688, allocations: 5.219 kB / 0.9577 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.7688, allocations: 35.81 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7688, allocations: 0 / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.769, allocations: 54.14 kB / 0.9578 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.7691, allocations: 78.64 kB / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.7692, allocations: 164.3 kB / 0.9581 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.7692, allocations: 25.95 kB / 0.9581 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.7693, allocations: 108.1 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.7693, allocations: 5.062 kB / 0.9582 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.7693, allocations: 19 kB / 0.9582 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.7694, allocations: 317.4 kB / 0.9585 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.7694, allocations: 11.22 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.7694, allocations: 22.7 kB / 0.9585 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.7695, allocations: 25.97 kB / 0.9586 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7695, allocations: 0 / 0.9586 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.231e-05/0.7696, allocations: 59.2 kB / 0.9586 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7696, allocations: 5.938 kB / 0.9586 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7696, allocations: 3.938 kB / 0.9586 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7696, allocations: 5.391 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.7697, allocations: 4.844 kB / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7697, allocations: 1.125 kB / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.7697, allocations: 6.219 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.7698, allocations: 5.219 kB / 0.9587 GB, free: 5.156 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 6.539e-05/0.7698, allocations: 113.6 kB / 0.9588 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.7699, allocations: 8.406 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.7699, allocations: 18.14 kB / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7699, allocations: 1.344 kB / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7699, allocations: 0 / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7699, allocations: 1.094 kB / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.7702, allocations: 478.3 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7702, allocations: 1.156 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.7703, allocations: 6.75 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.7703, allocations: 0.75 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.7703, allocations: 1.344 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7703, allocations: 0 / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7703, allocations: 1 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.7704, allocations: 87.02 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.7704, allocations: 91.02 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.7704, allocations: 5.359 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.7705, allocations: 1.031 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.7705, allocations: 1.062 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7705, allocations: 1.5 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.426e-05/0.7706, allocations: 119.2 kB / 0.9596 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7706, allocations: 7.969 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001937/0.7708, allocations: 11 kB / 0.9596 GB, free: 4.199 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.00011/0.7709, allocations: 97.12 kB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.771, allocations: 14.22 kB / 0.9597 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.771, allocations: 0 / 0.9597 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.771, allocations: 8.281 kB / 0.9597 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.7712, allocations: 15.36 kB / 0.9597 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.7715, allocations: 210.5 kB / 0.9599 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.7717, allocations: 0.6987 MB / 0.9606 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.7717, allocations: 12.03 kB / 0.9606 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7717, allocations: 0 / 0.9606 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.002581/0.7743, allocations: 0.8523 MB / 0.9614 GB, free: 2.723 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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