Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001141/0.001141, allocations: 92.22 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.001298/0.001298, allocations: 169 kB / 23.02 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 0.9934/0.9934, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.215/2.215, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.055e-05, allocations: 4.266 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001899/0.00193, allocations: 0.8267 MB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.002078, allocations: 48.28 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.002129, allocations: 1.312 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.002166, allocations: 7.875 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.002255, allocations: 20.56 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.143e-05/0.002296, allocations: 11.98 kB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.002393, allocations: 68.7 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.002527, allocations: 23.98 kB / 0.8792 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.002619, allocations: 45.17 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.002664, allocations: 19.91 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.002686, allocations: 8 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.002694, allocations: 4.906 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.002716, allocations: 15.94 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.002748, allocations: 21.38 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.00286, allocations: 43.83 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.002864, allocations: 0 / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.002866, allocations: 0 / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.002873, allocations: 1.312 kB / 0.8793 GB, free: 5.188 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.0004187/0.003292, allocations: 408.3 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.003332, allocations: 8.031 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.003378, allocations: 20.14 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.003564, allocations: 136.4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.003579, allocations: 8.375 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.003594, allocations: 4.375 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.003736, allocations: 91.89 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.003746, allocations: 192 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.00376, allocations: 4.375 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.003771, allocations: 4.375 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.003818, allocations: 19.92 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.004357, allocations: 470.9 kB / 0.8804 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.004426, allocations: 63.48 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.00446, allocations: 23.42 kB / 0.8805 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.004469, allocations: 4 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.004496, allocations: 45.42 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.004498, allocations: 0 / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.004656, allocations: 37.64 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.004696, allocations: 85.09 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.004805, allocations: 181.9 kB / 0.8808 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004814, allocations: 25.7 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.004959, allocations: 162.6 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.004969, allocations: 11.89 kB / 0.881 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.005, allocations: 27.62 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005121, allocations: 492.1 kB / 0.8815 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.005138, allocations: 7.984 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.005159, allocations: 23.38 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.005197, allocations: 31.31 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005199, allocations: 0 / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.901e-05/0.005268, allocations: 49.64 kB / 0.8816 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.005283, allocations: 8 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.00529, allocations: 4.062 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.005305, allocations: 0 / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.005377, allocations: 11.94 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.005385, allocations: 3.938 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.005401, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005407, allocations: 4 kB / 0.8817 GB, free: 2.512 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 7.119e-05/0.005478, allocations: 156.6 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.005504, allocations: 7.953 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.005531, allocations: 11.45 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.005533, allocations: 0 / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.005537, allocations: 4 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.005541, allocations: 7.938 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.005849, allocations: 0.5383 MB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00585, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.005864, allocations: 4 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.005867, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.005874, allocations: 3.938 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.005875, allocations: 7.938 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005876, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.005943, allocations: 92.02 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.005962, allocations: 16.05 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.005973, allocations: 3.938 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.005981, allocations: 0 / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.005997, allocations: 0 / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.006, allocations: 4 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002057/0.006206, allocations: 150 kB / 0.8826 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006206, allocations: 0 / 0.8826 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000139/0.006345, allocations: 7.938 kB / 0.8827 GB, free: 1.418 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 9.93e-05/0.006444, allocations: 95.25 kB / 0.8827 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.006538, allocations: 27.62 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00654, allocations: 0 / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.006549, allocations: 15.67 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.006677, allocations: 4 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.006969, allocations: 170.6 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.007006, allocations: 64.2 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.007033, allocations: 0 / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.007059, allocations: 16.73 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.00706, allocations: 4 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of Templates: time 0.00212/0.009179, allocations: 355.1 kB / 0.8834 GB, free: 0.6055 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.669179315213114]