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.0009838/0.0009838, 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.001033/0.001033, allocations: 181 kB / 24.09 MB, free: 420 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.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 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.607e-05, allocations: 7.25 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001641/0.001667, allocations: 0.8183 MB / 0.8128 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.001792, allocations: 40.66 kB / 0.8128 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.001846, allocations: 6.344 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.001879, allocations: 7.875 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.001947, allocations: 7.875 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.002, allocations: 23.97 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.002089, allocations: 67.77 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002197, allocations: 23.98 kB / 0.813 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.002281, allocations: 45.23 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.002324, allocations: 11.92 kB / 0.813 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.00234, allocations: 4 kB / 0.813 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-06/0.002347, allocations: 4 kB / 0.813 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.002369, allocations: 17.52 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.002394, allocations: 19.92 kB / 0.8131 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.00249, allocations: 43.77 kB / 0.8131 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002492, allocations: 0 / 0.8131 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002493, allocations: 1.75 kB / 0.8131 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002497, allocations: 0 / 0.8131 GB, free: 324 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.0003555/0.002853, allocations: 408.2 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.002891, allocations: 8.031 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.002922, allocations: 25.67 kB / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.003038, allocations: 136.5 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.003047, allocations: 4.375 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.003058, allocations: 16.84 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003158, allocations: 78.23 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.003165, allocations: 4.188 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.003172, allocations: 0.9062 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.00318, allocations: 1.688 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.003211, allocations: 31.8 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.003643, allocations: 0.7224 MB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.842e-05/0.003731, allocations: 266 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.003763, allocations: 132.2 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.003791, allocations: 119.2 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.003842, allocations: 160.6 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.003843, allocations: 96 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.287e-05/0.003906, allocations: 38.75 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.003959, allocations: 170.6 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.004075, allocations: 197.8 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.004083, allocations: 26.89 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.004162, allocations: 178.4 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.004164, allocations: 0 / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.004195, allocations: 32.52 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.004331, allocations: 0.4884 MB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.004342, allocations: 4 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.004422, allocations: 82.2 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.54e-05/0.004487, allocations: 88.77 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.00449, allocations: 0 / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.004613, allocations: 82.77 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.004629, allocations: 9.641 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.004637, allocations: 4 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.004652, allocations: 0 / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.004713, allocations: 15.94 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.004718, allocations: 6.688 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.004748, allocations: 19.83 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.004754, allocations: 4 kB / 0.8166 GB, free: 12.52 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.0001079/0.004861, allocations: 275.7 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.004925, allocations: 156.8 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.004987, allocations: 156.7 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001398/0.005127, allocations: 268 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.11e-05/0.005188, allocations: 272.6 kB / 0.8176 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/0.005251, allocations: 272.5 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.005457, allocations: 492.4 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/0.005501, allocations: 150.8 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.005539, allocations: 152.8 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.005606, allocations: 264.1 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.00583, allocations: 272.1 kB / 0.8192 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.235e-05/0.005892, allocations: 272 kB / 0.8194 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.379e-05/0.005956, allocations: 264.9 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.006096, allocations: 455.8 kB / 0.8201 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.006157, allocations: 161.7 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/0.006236, allocations: 268 kB / 0.8205 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.006297, allocations: 149.5 kB / 0.8207 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.006384, allocations: 268.3 kB / 0.8209 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.006419, allocations: 147.8 kB / 0.8211 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.006485, allocations: 149.7 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006485, allocations: 0 / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001715/0.006656, allocations: 11.95 kB / 0.8212 GB, free: 7.574 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.0001364/0.006793, allocations: 214.4 kB / 0.8214 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/0.006865, allocations: 42.11 kB / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.006867, allocations: 0 / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.006868, allocations: 0 / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.007148, allocations: 0.7062 MB / 0.8221 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.007392, allocations: 269.7 kB / 0.8224 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.007427, allocations: 60.28 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.007461, allocations: 10.91 kB / 0.8225 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.007497, allocations: 74.2 kB / 0.8225 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.007498, allocations: 1.094 kB / 0.8225 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of Templates: time 0.002272/0.00977, allocations: 330.6 kB / 0.8229 GB, free: 5.832 MB / 0.7761 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 -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.14269351400435]