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.001328/0.001328, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001516/0.001516, allocations: 173 kB / 23.36 MB, free: 1.133 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.9824/0.9824, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.512/2.512, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.643e-06/1.643e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.372e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001922/0.001945, allocations: 0.8186 MB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.002097, allocations: 47.72 kB / 0.8394 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.002147, allocations: 0 / 0.8394 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.002185, allocations: 7.875 kB / 0.8394 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.593e-05/0.002271, allocations: 23.8 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.995e-05/0.002321, allocations: 11.98 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002434, allocations: 63.83 kB / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.00255, allocations: 31.97 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.002667, allocations: 51.81 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.002709, allocations: 19.92 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.00273, allocations: 4 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.002739, allocations: 4 kB / 0.8396 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.002761, allocations: 11.94 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.002789, allocations: 19.91 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.253e-05/0.002882, allocations: 39.78 kB / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002884, allocations: 0 / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002885, allocations: 0 / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.002888, allocations: 0 / 0.8397 GB, free: 12.99 MB / 0.8073 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.0003214/0.00321, allocations: 284.5 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.003246, allocations: 12.62 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.003278, allocations: 12.94 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.00342, allocations: 133.6 kB / 0.8401 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003432, allocations: 8.375 kB / 0.8401 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.003449, allocations: 8.375 kB / 0.8401 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003556, allocations: 78.03 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003564, allocations: 4.188 kB / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.003572, allocations: 4.375 kB / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.003579, allocations: 384 / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.003616, allocations: 27.86 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.004035, allocations: 0.505 MB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.004242, allocations: 169.1 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.00427, allocations: 80.14 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.004298, allocations: 79.28 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.004339, allocations: 109.9 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.00434, allocations: 3.938 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.799e-05/0.004398, allocations: 33.69 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.004448, allocations: 126.7 kB / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.004547, allocations: 144.7 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.004558, allocations: 25.7 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.004619, allocations: 131.8 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-06/0.004622, allocations: 3.984 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.004657, allocations: 21.67 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.004749, allocations: 326.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.004759, allocations: 7.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.004799, allocations: 58.78 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.004873, allocations: 66.8 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.004877, allocations: 4 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.004992, allocations: 73.48 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.005005, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.005013, allocations: 4.25 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.005027, allocations: 4 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.005086, allocations: 15.94 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005091, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.005128, allocations: 11.92 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005133, allocations: 4 kB / 0.8422 GB, free: 10.22 MB / 0.8073 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.625e-05/0.00522, allocations: 189.1 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.005268, allocations: 108.9 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.005312, allocations: 112.8 kB / 0.8426 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/0.005363, allocations: 180.2 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.717e-05/0.00541, allocations: 180.3 kB / 0.8429 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/0.005458, allocations: 184.3 kB / 0.8431 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.005638, allocations: 341.3 kB / 0.8434 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.005667, allocations: 105 kB / 0.8435 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.005699, allocations: 112.9 kB / 0.8436 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.878e-05/0.005748, allocations: 180.3 kB / 0.8438 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.005798, allocations: 180.2 kB / 0.844 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.924e-05/0.005848, allocations: 176.3 kB / 0.8442 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.237e-05/0.0059, allocations: 180.5 kB / 0.8443 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.006017, allocations: 319.7 kB / 0.8446 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.006063, allocations: 116.8 kB / 0.8447 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.006122, allocations: 188.2 kB / 0.8449 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.006194, allocations: 101 kB / 0.845 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.006249, allocations: 180.2 kB / 0.8452 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.006277, allocations: 105 kB / 0.8453 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.006313, allocations: 30.2 kB / 0.8453 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.006313, allocations: 0 / 0.8453 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002446/0.006557, allocations: 11.95 kB / 0.8453 GB, free: 6.828 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.0001066/0.006664, allocations: 151.7 kB / 0.8455 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.006732, allocations: 33.05 kB / 0.8455 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.006736, allocations: 4 kB / 0.8455 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.006737, allocations: 0 / 0.8455 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.007005, allocations: 463.6 kB / 0.846 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.00727, allocations: 228 kB / 0.8462 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.007309, allocations: 59.34 kB / 0.8462 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.007351, allocations: 4.734 kB / 0.8462 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.007385, allocations: 59.56 kB / 0.8463 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.007386, allocations: 0 / 0.8463 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.004363/0.01175, allocations: 334.6 kB / 0.8466 GB, free: 5.457 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.310856089927256]