Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001019/0.001019, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001047/0.001047, allocations: 161 kB / 24.16 MB, free: 332 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.06/1.06, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.152e-05, allocations: 6.141 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001807/0.001828, allocations: 0.8698 MB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.00197, allocations: 48.25 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.002019, allocations: 0.8438 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.002055, allocations: 7.875 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.002137, allocations: 17.7 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.528e-05/0.002193, allocations: 20.86 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.0023, allocations: 60.72 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002409, allocations: 34.02 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.002496, allocations: 41.27 kB / 0.7611 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.002545, allocations: 15.92 kB / 0.7611 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.002562, allocations: 4 kB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.002571, allocations: 8 kB / 0.7612 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.002588, allocations: 13.91 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.002611, allocations: 15.94 kB / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.002704, allocations: 47.7 kB / 0.7612 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002706, allocations: 4 kB / 0.7612 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002707, allocations: 0 / 0.7612 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.00271, allocations: 0 / 0.7612 GB, free: 5.395 MB / 0.7136 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.0003048/0.003015, allocations: 289.9 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.003052, allocations: 8.031 kB / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.003083, allocations: 8.938 kB / 0.7615 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.003221, allocations: 134.7 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003233, allocations: 8.375 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003242, allocations: 4.375 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.003345, allocations: 81.77 kB / 0.7617 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.003354, allocations: 192 / 0.7617 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003363, allocations: 4.875 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.003371, allocations: 5.406 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.003407, allocations: 23.86 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.003798, allocations: 0.4979 MB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.003861, allocations: 173.1 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.003884, allocations: 81.92 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.003902, allocations: 75.28 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.00394, allocations: 113.9 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003941, allocations: 0 / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.206e-05/0.004003, allocations: 30.81 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.004046, allocations: 130.7 kB / 0.7628 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.00414, allocations: 144.1 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.00415, allocations: 26.64 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.004211, allocations: 127.8 kB / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.004213, allocations: 0 / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.004249, allocations: 38.52 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.004333, allocations: 314.8 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.004342, allocations: 8.734 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.004383, allocations: 62.83 kB / 0.7635 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.004445, allocations: 67.91 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.004447, allocations: 0 / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001057/0.004553, allocations: 73.48 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.004568, allocations: 10.47 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.004573, allocations: 0 / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.004589, allocations: 4 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.004641, allocations: 15.94 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.004646, allocations: 4 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.00468, allocations: 7.938 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004684, allocations: 4 kB / 0.7637 GB, free: 2.645 MB / 0.7136 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 7.921e-05/0.004763, allocations: 194 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.00481, allocations: 108.9 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.004851, allocations: 113.8 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/0.004904, allocations: 184.2 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/0.00496, allocations: 180.3 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/0.005004, allocations: 181.3 kB / 0.7646 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.005183, allocations: 333.3 kB / 0.7649 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.005209, allocations: 103.1 kB / 0.765 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.005236, allocations: 112.9 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.407e-05/0.00528, allocations: 180.2 kB / 0.7653 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.005325, allocations: 180.2 kB / 0.7655 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-05/0.005366, allocations: 180.3 kB / 0.7657 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.354e-05/0.00545, allocations: 176.3 kB / 0.7658 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.005558, allocations: 318.4 kB / 0.7661 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.005621, allocations: 120.9 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.005674, allocations: 176.3 kB / 0.7664 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.005745, allocations: 109.3 kB / 0.7665 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.005796, allocations: 180.2 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.005826, allocations: 105 kB / 0.7668 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.005863, allocations: 31.06 kB / 0.7668 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.005863, allocations: 1.5 kB / 0.7668 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002097/0.006072, allocations: 11.95 kB / 0.7668 GB, free: 15.27 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 9.518e-05/0.006168, allocations: 155.6 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.006239, allocations: 31.56 kB / 0.767 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.006245, allocations: 8 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.006246, allocations: 0 / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.006501, allocations: 463.6 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.006847, allocations: 228.6 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.983e-05/0.006887, allocations: 55.36 kB / 0.7677 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.006923, allocations: 11.53 kB / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.006957, allocations: 51.38 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.006958, allocations: 4.594 kB / 0.7678 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.002126/0.009084, allocations: 332.7 kB / 0.7681 GB, free: 13.91 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.132330161053687]