Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 165 kB / 23.01 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.11/2.11, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.182e-05, allocations: 11.14 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001363/0.001385, allocations: 0.8156 MB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.001494, allocations: 44.5 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.00154, allocations: 0 / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.001579, allocations: 13.02 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.001652, allocations: 14.98 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.183e-05/0.001694, allocations: 15.98 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.001784, allocations: 63.78 kB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.00191, allocations: 31.95 kB / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.001992, allocations: 36.44 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.00203, allocations: 20.72 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.002048, allocations: 8 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.002056, allocations: 5.094 kB / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.002075, allocations: 19.92 kB / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.002102, allocations: 15.94 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.601e-05/0.002188, allocations: 44.42 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00219, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00219, allocations: 1.156 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002194, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 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.0003514/0.002546, allocations: 409.3 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.002584, allocations: 8.031 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.002622, allocations: 24.83 kB / 0.8797 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.002779, allocations: 133.5 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.002792, allocations: 8.375 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.002806, allocations: 5.5 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.002935, allocations: 93.53 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.002947, allocations: 4.172 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.002959, allocations: 5.406 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.00297, allocations: 4.375 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.003012, allocations: 23.92 kB / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.003408, allocations: 463.4 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.003455, allocations: 54.19 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.003484, allocations: 22.81 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.003491, allocations: 96 / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.003515, allocations: 49.33 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.003516, allocations: 0 / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.003643, allocations: 41.62 kB / 0.8806 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.003677, allocations: 81.11 kB / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.003775, allocations: 187 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.003788, allocations: 25.7 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.003851, allocations: 162.7 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-06/0.003858, allocations: 9.453 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.003887, allocations: 23.38 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.004009, allocations: 496.1 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.004023, allocations: 11.94 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.004041, allocations: 20.47 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.004077, allocations: 31.31 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004078, allocations: 1.438 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.789e-05/0.004136, allocations: 53.64 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.00415, allocations: 6.656 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.004156, allocations: 4 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.004173, allocations: 3.938 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.004227, allocations: 8 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.004234, allocations: 3.938 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.00425, allocations: 3.984 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004255, allocations: 4 kB / 0.8817 GB, free: 2.492 MB / 0.8386 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.663e-05/0.004321, allocations: 152.6 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.004346, allocations: 7.953 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.004371, allocations: 7.469 kB / 0.8818 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.004374, allocations: 4 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.004378, allocations: 4 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.004382, allocations: 3.938 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.004658, allocations: 0.5421 MB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004659, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.004673, allocations: 4 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.004675, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.004686, allocations: 11.94 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.004687, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004688, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.004761, allocations: 92.08 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.004778, allocations: 11.95 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.004791, allocations: 7.922 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.004799, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.004817, allocations: 4 kB / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.004819, allocations: 0 / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.004871, allocations: 145.5 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004871, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001276/0.004998, allocations: 11.94 kB / 0.8827 GB, free: 1.402 MB / 0.8386 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 7.337e-05/0.005072, allocations: 91.25 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.005155, allocations: 31.64 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.005156, allocations: 3.938 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.005164, allocations: 11.69 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.005277, allocations: 4 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.005569, allocations: 174.6 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.005603, allocations: 59.34 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.005627, allocations: 8.062 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.005654, allocations: 12.75 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.005655, allocations: 4 kB / 0.883 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of Templates: time 0.001946/0.007601, allocations: 355.8 kB / 0.8834 GB, free: 0.5859 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5889461897313595]