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.001163/0.001163, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001179/0.001179, allocations: 167.1 kB / 24.87 MB, free: 8.891 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 2.025/2.025, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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 2.274e-06/2.274e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.331e-05, allocations: 2.906 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002306/0.00234, allocations: 0.8149 MB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.002482, allocations: 44.88 kB / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.002544, allocations: 0 / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.002584, allocations: 10 kB / 0.8136 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/0.002676, allocations: 7.875 kB / 0.8136 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.595e-05/0.002732, allocations: 23.97 kB / 0.8137 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.002848, allocations: 63.78 kB / 0.8137 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.002981, allocations: 27.97 kB / 0.8138 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.003101, allocations: 41.25 kB / 0.8138 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.003146, allocations: 15.91 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.003164, allocations: 7.938 kB / 0.8138 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.003214, allocations: 8 kB / 0.8138 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.003239, allocations: 16.52 kB / 0.8138 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.003268, allocations: 17.28 kB / 0.8139 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.003372, allocations: 39.83 kB / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003375, allocations: 0 / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003376, allocations: 0 / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.003381, allocations: 1.938 kB / 0.8139 GB, free: 308 kB / 0.7605 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.0004257/0.003807, allocations: 416.1 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.003855, allocations: 12.02 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.003897, allocations: 16.89 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.004055, allocations: 136.4 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004069, allocations: 9.031 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.004079, allocations: 4.906 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.004207, allocations: 88 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.004216, allocations: 0.9062 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.004227, allocations: 4.375 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.004234, allocations: 4.906 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.004273, allocations: 29.2 kB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.004812, allocations: 0.7223 MB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.004988, allocations: 261.4 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.005029, allocations: 139.5 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.005064, allocations: 124.6 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.005119, allocations: 152.6 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.00512, allocations: 0 / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.305e-05/0.005193, allocations: 34.81 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.00526, allocations: 170.6 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.005393, allocations: 204.2 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005404, allocations: 25.7 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.005497, allocations: 179.8 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.005501, allocations: 0 / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.005539, allocations: 27.38 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.005682, allocations: 0.4932 MB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.005699, allocations: 3.938 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.005755, allocations: 77.47 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.00584, allocations: 88.25 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.005847, allocations: 5.312 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001651/0.006012, allocations: 78.72 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.006029, allocations: 9.844 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006036, allocations: 3.938 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006048, allocations: 4 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.00611, allocations: 19.94 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006114, allocations: 0 / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.006152, allocations: 14.39 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.006159, allocations: 4 kB / 0.8173 GB, free: 12.51 MB / 0.7761 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.0001193/0.006279, allocations: 287.6 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.006347, allocations: 152.9 kB / 0.8177 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.006403, allocations: 148.7 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-05/0.006478, allocations: 272 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-05/0.006554, allocations: 268.6 kB / 0.8184 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.9e-05/0.006643, allocations: 276 kB / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.007033, allocations: 0.4893 MB / 0.8191 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/0.007072, allocations: 146.8 kB / 0.8193 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.007114, allocations: 148.8 kB / 0.8194 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/0.007189, allocations: 268.1 kB / 0.8197 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.007263, allocations: 268 kB / 0.8199 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-05/0.007336, allocations: 272.1 kB / 0.8202 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-05/0.007411, allocations: 272.8 kB / 0.8205 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.007573, allocations: 451.9 kB / 0.8209 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.00764, allocations: 157.4 kB / 0.821 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.007721, allocations: 268.1 kB / 0.8213 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.007797, allocations: 149.5 kB / 0.8214 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.007874, allocations: 268.4 kB / 0.8217 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.007912, allocations: 152 kB / 0.8218 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.007979, allocations: 147.1 kB / 0.822 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007979, allocations: 0 / 0.822 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002442/0.008223, allocations: 11.95 kB / 0.822 GB, free: 7.555 MB / 0.7761 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.0001701/0.008393, allocations: 214.4 kB / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.008497, allocations: 37.98 kB / 0.8222 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008499, allocations: 0 / 0.8222 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/0.008503, allocations: 8 kB / 0.8222 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.008894, allocations: 0.7023 MB / 0.8229 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.009194, allocations: 269.7 kB / 0.8232 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.009238, allocations: 60.34 kB / 0.8232 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.009282, allocations: 5.781 kB / 0.8232 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.00932, allocations: 75.3 kB / 0.8233 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.00932, allocations: 0 / 0.8233 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of Templates: time 0.002388/0.01171, allocations: 346.9 kB / 0.8237 GB, free: 5.805 MB / 0.7761 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.227426689118147]