Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.0009641/0.0009641, allocations: 93.06 kB / 19.65 MB, free: 280 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.001017/0.001017, allocations: 169 kB / 23.02 MB, free: 1.547 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.9638/0.9638, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.035/2.035, 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.7656 kB / 0.8782 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.813e-05, allocations: 3.75 kB / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001602/0.00163, allocations: 0.8126 MB / 0.879 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.001748, allocations: 40.72 kB / 0.879 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.001792, allocations: 0 / 0.879 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.001827, allocations: 8.594 kB / 0.879 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.001925, allocations: 21.94 kB / 0.8791 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.6e-05/0.001971, allocations: 13.02 kB / 0.8791 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.002078, allocations: 66.12 kB / 0.8791 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.002226, allocations: 39.91 kB / 0.8792 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.002338, allocations: 45.06 kB / 0.8792 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.002379, allocations: 11.92 kB / 0.8792 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.002404, allocations: 8 kB / 0.8792 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.002412, allocations: 7.969 kB / 0.8792 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.002435, allocations: 19.91 kB / 0.8793 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.002637, allocations: 15.94 kB / 0.8793 GB, free: 4.105 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.002758, allocations: 39.83 kB / 0.8793 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.002762, allocations: 0 / 0.8793 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.763e-06/0.002764, allocations: 0 / 0.8793 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.002769, allocations: 0 / 0.8793 GB, free: 4.066 MB / 0.7917 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.000434/0.003203, allocations: 404.3 kB / 0.8797 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.00325, allocations: 8.031 kB / 0.8797 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.003301, allocations: 16.89 kB / 0.8797 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.003462, allocations: 145.3 kB / 0.8799 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003474, allocations: 8.375 kB / 0.8799 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.003486, allocations: 4.375 kB / 0.8799 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.003625, allocations: 86.64 kB / 0.8799 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003633, allocations: 192 / 0.88 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.003645, allocations: 8.312 kB / 0.88 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.003656, allocations: 9.484 kB / 0.88 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.003702, allocations: 23.92 kB / 0.88 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.004197, allocations: 0.7424 MB / 0.8807 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004299, allocations: 273.6 kB / 0.881 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.004338, allocations: 127.9 kB / 0.8811 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.00437, allocations: 123.2 kB / 0.8812 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.004419, allocations: 160.5 kB / 0.8814 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.00442, allocations: 0.7188 kB / 0.8814 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 7.005e-05/0.00449, allocations: 33.66 kB / 0.8814 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.004552, allocations: 175.1 kB / 0.8816 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.004677, allocations: 209.2 kB / 0.8818 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.004685, allocations: 25.7 kB / 0.8818 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.004757, allocations: 174.5 kB / 0.882 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.00476, allocations: 0 / 0.882 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.004792, allocations: 28 kB / 0.882 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.004899, allocations: 0.4884 MB / 0.8825 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.004913, allocations: 4.719 kB / 0.8825 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.004955, allocations: 77.48 kB / 0.8825 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.005022, allocations: 88.44 kB / 0.8826 GB, free: 392 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.005025, allocations: 11.44 kB / 0.8826 GB, free: 384 kB / 0.7917 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001246/0.00515, allocations: 81.45 kB / 0.8827 GB, free: 296 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.005165, allocations: 10.34 kB / 0.8827 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.00517, allocations: 0 / 0.8827 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.005185, allocations: 4 kB / 0.8827 GB, free: 284 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.005245, allocations: 17.02 kB / 0.8827 GB, free: 268 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.005253, allocations: 7.938 kB / 0.8828 GB, free: 260 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.00528, allocations: 11.89 kB / 0.8828 GB, free: 248 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.005286, allocations: 4.531 kB / 0.8828 GB, free: 244 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.000115/0.005401, allocations: 281.2 kB / 0.883 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.005456, allocations: 156.8 kB / 0.8832 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.005511, allocations: 160.6 kB / 0.8833 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.005573, allocations: 264.1 kB / 0.8836 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.806e-05/0.005641, allocations: 273.2 kB / 0.8839 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.917e-05/0.00572, allocations: 272 kB / 0.8841 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.005942, allocations: 0.5077 MB / 0.8846 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/0.005986, allocations: 149.1 kB / 0.8847 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.006034, allocations: 152.9 kB / 0.8849 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-05/0.006115, allocations: 268.1 kB / 0.8851 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/0.006215, allocations: 268 kB / 0.8854 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-05/0.00628, allocations: 264.1 kB / 0.8857 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-05/0.006344, allocations: 276 kB / 0.8859 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.00667, allocations: 451.9 kB / 0.8864 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.006721, allocations: 152.8 kB / 0.8865 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.006784, allocations: 268.1 kB / 0.8868 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.006838, allocations: 156.8 kB / 0.8869 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.006902, allocations: 268.4 kB / 0.8872 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.006933, allocations: 152.8 kB / 0.8873 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.006995, allocations: 148.8 kB / 0.8874 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006995, allocations: 0 / 0.8874 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001608/0.007156, allocations: 11.94 kB / 0.8875 GB, free: 11.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001254/0.007281, allocations: 218.4 kB / 0.8877 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.007383, allocations: 35.64 kB / 0.8877 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.007385, allocations: 0 / 0.8877 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.007386, allocations: 0.5 kB / 0.8877 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.007698, allocations: 0.714 MB / 0.8884 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.008003, allocations: 277.5 kB / 0.8887 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.008043, allocations: 67.22 kB / 0.8887 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.008081, allocations: 4.734 kB / 0.8887 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.008106, allocations: 12.5 kB / 0.8887 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of SimCode: time 1.092e-06/0.008107, allocations: 0 / 0.8887 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of Templates: time 0.002035/0.01014, allocations: 326.1 kB / 0.8891 GB, free: 9.535 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.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.062274301890284]