Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0009859/0.0009859, allocations: 88.22 kB / 19.65 MB, free: 272 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.001048/0.001048, allocations: 173 kB / 23.02 MB, free: 1.539 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 0.9796/0.9796, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.188/2.188, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.522e-05, allocations: 7.188 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00122/0.001235, allocations: 0.8283 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 8.709e-05/0.001322, allocations: 40.91 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.001361, allocations: 4 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.00139, allocations: 11.86 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.001447, allocations: 12.91 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.149e-05/0.001479, allocations: 15.98 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.001553, allocations: 59.84 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.001644, allocations: 33.08 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.001708, allocations: 35.86 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.001741, allocations: 24.92 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.001756, allocations: 8 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-06/0.001763, allocations: 4 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.001778, allocations: 16.62 kB / 0.8793 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.001801, allocations: 23.91 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.858e-05/0.00187, allocations: 41.23 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.001871, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001872, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.001875, allocations: 3.938 kB / 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.0003256/0.002201, allocations: 408.9 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.002232, allocations: 13.41 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.002262, allocations: 16.89 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.002388, allocations: 128.5 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.002398, allocations: 9.062 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.00241, allocations: 4.375 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.002518, allocations: 93.02 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.002528, allocations: 192 / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.002537, allocations: 5.469 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.002545, allocations: 4.375 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.002585, allocations: 31.84 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.003097, allocations: 463 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.003147, allocations: 59.36 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.003178, allocations: 23.53 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.003185, allocations: 3.438 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.003207, allocations: 45.38 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003208, allocations: 0 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001133/0.003321, allocations: 45.62 kB / 0.8806 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.003352, allocations: 77.11 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.003448, allocations: 185.8 kB / 0.8809 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.003456, allocations: 25.7 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.003515, allocations: 163.6 kB / 0.881 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.003521, allocations: 7.891 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.003549, allocations: 23.38 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.003653, allocations: 492.7 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.003665, allocations: 13.27 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.003683, allocations: 19.38 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.003718, allocations: 35.56 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003719, allocations: 4 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.135e-05/0.003781, allocations: 57.58 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003791, allocations: 4 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003795, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.003809, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.003853, allocations: 8 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.003858, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.003871, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.003875, allocations: 4 kB / 0.8817 GB, free: 2.5 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 5.591e-05/0.003931, allocations: 160.6 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.003954, allocations: 7.953 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.003979, allocations: 11.47 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.00398, allocations: 0 / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.003983, allocations: 0 / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.003986, allocations: 3.938 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.004243, allocations: 0.5383 MB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.004246, allocations: 4 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.004255, allocations: 0 / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004257, allocations: 7.938 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004263, allocations: 12 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004264, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.004266, allocations: 3.938 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.598e-05/0.004322, allocations: 84.08 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.004342, allocations: 11.95 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.00435, allocations: 3.938 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.004357, allocations: 0 / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.00437, allocations: 7.984 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.004372, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.004415, allocations: 143.2 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004415, allocations: 4.031 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001176/0.004533, 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 6.121e-05/0.004594, allocations: 91.25 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.54e-05/0.004659, allocations: 23.62 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004661, allocations: 0 / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.004669, allocations: 15.67 kB / 0.8828 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.717e-05/0.004766, allocations: 8 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.00498, allocations: 174.9 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.912e-05/0.005009, allocations: 60.03 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.005031, allocations: 7.984 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.005048, allocations: 8.5 kB / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.005048, allocations: 0 / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of Templates: time 0.001674/0.006723, allocations: 353 kB / 0.8834 GB, free: 0.6016 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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.587026264984161]