Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001387/0.001387, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001025/0.001025, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.339e-05, allocations: 3.156 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001765/0.001789, allocations: 0.8157 MB / 0.8128 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.001943, allocations: 42.25 kB / 0.8128 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.002011, allocations: 7.938 kB / 0.8129 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.00205, allocations: 7.875 kB / 0.8129 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.002156, allocations: 7.875 kB / 0.8129 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.291e-05/0.002209, allocations: 19.97 kB / 0.8129 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.002321, allocations: 63.75 kB / 0.813 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.00246, allocations: 31.91 kB / 0.813 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.002577, allocations: 49.12 kB / 0.813 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.00262, allocations: 19.91 kB / 0.813 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.002637, allocations: 4 kB / 0.8131 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002645, allocations: 5.594 kB / 0.8131 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.002666, allocations: 15.92 kB / 0.8131 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.002694, allocations: 19.92 kB / 0.8131 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.042e-05/0.002784, allocations: 35.84 kB / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002787, allocations: 0.625 kB / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002788, allocations: 0 / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.002792, allocations: 0.5312 kB / 0.8131 GB, free: 15.18 MB / 0.7292 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.0005003/0.003292, allocations: 405.2 kB / 0.8135 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.003343, allocations: 12.03 kB / 0.8135 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.003378, allocations: 20.83 kB / 0.8135 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.003507, allocations: 144.8 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.003516, allocations: 4.375 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003527, allocations: 13.75 kB / 0.8137 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.003625, allocations: 79.78 kB / 0.8138 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003632, allocations: 4.125 kB / 0.8138 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.003642, allocations: 9.469 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.003647, allocations: 4.359 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.003677, allocations: 23.92 kB / 0.8138 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.004073, allocations: 0.7273 MB / 0.8145 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.004146, allocations: 265.6 kB / 0.8148 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.004175, allocations: 131.9 kB / 0.8149 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.004199, allocations: 119.2 kB / 0.815 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.004238, allocations: 156.6 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.004239, allocations: 0.9062 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.479e-05/0.004284, allocations: 29.7 kB / 0.8152 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.004325, allocations: 172.1 kB / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.004422, allocations: 209.7 kB / 0.8156 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.004429, allocations: 29.64 kB / 0.8156 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.004496, allocations: 170.5 kB / 0.8158 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.004498, allocations: 2.812 kB / 0.8158 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.004529, allocations: 31.33 kB / 0.8158 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004635, allocations: 0.4884 MB / 0.8163 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.004645, allocations: 4 kB / 0.8163 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.004685, allocations: 77.47 kB / 0.8163 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.813e-05/0.004753, allocations: 88.34 kB / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004754, allocations: 0 / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001051/0.004859, allocations: 87.14 kB / 0.8165 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.004874, allocations: 7.984 kB / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.00488, allocations: 4.906 kB / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004892, allocations: 0 / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.004944, allocations: 12 kB / 0.8165 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004948, allocations: 4.531 kB / 0.8165 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.004972, allocations: 12.72 kB / 0.8165 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.004976, allocations: 4 kB / 0.8166 GB, free: 11.39 MB / 0.7292 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 8.096e-05/0.005057, allocations: 280.5 kB / 0.8168 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.005099, allocations: 156.8 kB / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.005142, allocations: 157.9 kB / 0.8171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.005199, allocations: 272.1 kB / 0.8174 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-05/0.005257, allocations: 272.1 kB / 0.8176 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-05/0.005318, allocations: 276.8 kB / 0.8179 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.005496, allocations: 492.5 kB / 0.8184 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.005532, allocations: 152.8 kB / 0.8185 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.005562, allocations: 146.1 kB / 0.8187 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-05/0.005619, allocations: 264.1 kB / 0.8189 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.005678, allocations: 272 kB / 0.8192 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-05/0.005737, allocations: 277.4 kB / 0.8194 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.814e-05/0.005796, allocations: 268 kB / 0.8197 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.005918, allocations: 447.9 kB / 0.8201 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.00597, allocations: 163.6 kB / 0.8203 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.006381, allocations: 268.1 kB / 0.8205 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.006438, allocations: 152.8 kB / 0.8207 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.006494, allocations: 264.4 kB / 0.8209 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.006524, allocations: 148.9 kB / 0.8211 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.00657, allocations: 149.7 kB / 0.8212 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006571, allocations: 0 / 0.8212 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001506/0.006721, allocations: 11.89 kB / 0.8212 GB, free: 6.43 MB / 0.7292 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.0001043/0.006825, allocations: 217.2 kB / 0.8214 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.006893, allocations: 39.73 kB / 0.8215 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006894, allocations: 0 / 0.8215 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.006895, allocations: 0.9375 kB / 0.8215 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.007187, allocations: 0.714 MB / 0.8222 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.007421, allocations: 270.6 kB / 0.8224 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.007455, allocations: 63.28 kB / 0.8225 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.007491, allocations: 9.812 kB / 0.8225 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.007524, allocations: 75.33 kB / 0.8226 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.007525, allocations: 0 / 0.8226 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.001705/0.00923, allocations: 326.5 kB / 0.8229 GB, free: 4.684 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.082964872941375]