Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0009728/0.0009728, 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.000972/0.000972, allocations: 166.2 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.949/1.949, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.23e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00157/0.001593, allocations: 0.8634 MB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.001733, allocations: 55.72 kB / 0.8137 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.001789, allocations: 2.188 kB / 0.8137 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.001831, allocations: 11.86 kB / 0.8137 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.001912, allocations: 19.81 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.997e-05/0.001972, allocations: 23.97 kB / 0.8137 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002079, allocations: 79.77 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.002202, allocations: 33.28 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.002292, allocations: 65.09 kB / 0.8139 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.002338, allocations: 15.92 kB / 0.8139 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.002357, allocations: 8 kB / 0.8139 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.002365, allocations: 5.594 kB / 0.8139 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.002388, allocations: 19.92 kB / 0.814 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.002416, allocations: 19.92 kB / 0.814 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.002514, allocations: 51.7 kB / 0.814 GB, free: 192 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002516, allocations: 0 / 0.814 GB, free: 192 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002516, allocations: 1.906 kB / 0.814 GB, free: 192 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.002521, allocations: 0 / 0.814 GB, free: 192 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000381/0.002902, allocations: 424.4 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.002944, allocations: 12.03 kB / 0.8144 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.002981, allocations: 21.53 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.003143, allocations: 150.8 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003157, allocations: 9.094 kB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.00317, allocations: 8.375 kB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.003293, allocations: 96.44 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.003304, allocations: 0 / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.003315, allocations: 12.52 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.003321, allocations: 1.375 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.003358, allocations: 19.98 kB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.004138, allocations: 0.7456 MB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.004233, allocations: 269.8 kB / 0.8157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.004264, allocations: 128.2 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.004288, allocations: 119.2 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.004331, allocations: 160.6 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.004331, allocations: 0 / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.624e-05/0.004388, allocations: 38.8 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.004445, allocations: 170.6 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.004559, allocations: 212.2 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.004566, allocations: 27.05 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.004644, allocations: 174.5 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.004647, allocations: 4 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.004677, allocations: 36.61 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.004793, allocations: 0.4884 MB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.004801, allocations: 4 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.00484, allocations: 73.48 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.004903, allocations: 92.11 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004906, allocations: 5.219 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.005009, allocations: 86.69 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.005021, allocations: 9.812 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005025, allocations: 0 / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.005035, allocations: 4 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.00508, allocations: 12 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.005083, allocations: 0 / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.005105, allocations: 10.47 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.00511, allocations: 4 kB / 0.8175 GB, free: 12.34 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 9.289e-05/0.005202, allocations: 291.6 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.005254, allocations: 152.8 kB / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.005301, allocations: 156.6 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.005367, allocations: 268.1 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/0.00543, allocations: 272.6 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/0.005497, allocations: 272.2 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.005681, allocations: 497 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/0.005719, allocations: 158.7 kB / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.005751, allocations: 144.9 kB / 0.8196 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.556e-05/0.005817, allocations: 276 kB / 0.8199 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.005882, allocations: 272 kB / 0.8202 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.005944, allocations: 264.1 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.686e-05/0.00601, allocations: 272.9 kB / 0.8207 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.006145, allocations: 459.9 kB / 0.8211 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.006192, allocations: 157.6 kB / 0.8213 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.006258, allocations: 264.1 kB / 0.8215 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.006325, allocations: 149.1 kB / 0.8216 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.006399, allocations: 276.7 kB / 0.8219 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.006438, allocations: 156 kB / 0.8221 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.824e-05/0.006497, allocations: 150 kB / 0.8222 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 0 / 0.8222 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001599/0.006657, allocations: 11.94 kB / 0.8222 GB, free: 7.348 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.0001116/0.006768, allocations: 214.4 kB / 0.8224 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.006852, allocations: 34.02 kB / 0.8225 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006853, allocations: 0 / 0.8225 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.006854, allocations: 0 / 0.8225 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.00739, allocations: 0.7101 MB / 0.8231 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.007636, allocations: 300.6 kB / 0.8234 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.007668, allocations: 59.34 kB / 0.8235 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.007698, allocations: 11.67 kB / 0.8235 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.007731, allocations: 70.2 kB / 0.8236 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.007732, allocations: 4 kB / 0.8236 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of Templates: time 0.001699/0.009431, allocations: 346.4 kB / 0.8239 GB, free: 5.566 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.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.18388551287353]