Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001024/0.001024, allocations: 80.88 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.001093/0.001093, allocations: 181 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.9769/0.9769, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.4/2.4, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.719e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001304/0.001321, allocations: 0.8528 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.001447, allocations: 55.72 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.001489, allocations: 8 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.001521, allocations: 11.81 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.001581, allocations: 19.8 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.523e-05/0.001626, allocations: 19.98 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.001713, allocations: 87.75 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.001805, allocations: 33.94 kB / 0.8397 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.001886, allocations: 55.81 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.001928, allocations: 15.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.001945, allocations: 8 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.001952, allocations: 11.94 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.00197, allocations: 15.91 kB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.001993, allocations: 23.94 kB / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.002078, allocations: 59.69 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00208, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.2e-07/0.00208, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002083, allocations: 0 / 0.8398 GB, free: 12.95 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002786/0.002362, allocations: 300.7 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.002393, allocations: 8.625 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.00242, allocations: 20.92 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.002543, allocations: 141.5 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002553, allocations: 4.562 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.002565, allocations: 16.38 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.002657, allocations: 89.73 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.002664, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.002672, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.002679, allocations: 4 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.002708, allocations: 27.86 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.003019, allocations: 0.5049 MB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.003075, allocations: 181.1 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.003093, allocations: 84.08 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.003109, allocations: 75.28 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.003141, allocations: 113.8 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.003142, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.465e-05/0.003186, allocations: 25.7 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.003227, allocations: 130.7 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.003312, allocations: 166.4 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.003318, allocations: 25.7 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.003363, allocations: 119.8 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.003365, allocations: 0 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.003389, allocations: 25.7 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.003454, allocations: 318.8 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.003462, allocations: 11.98 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.003487, allocations: 46.02 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.003532, allocations: 61.92 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003533, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.678e-05/0.00361, allocations: 77.44 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.00362, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.003625, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.003637, allocations: 3.984 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-05/0.003675, allocations: 12.22 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.003679, allocations: 4.094 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.003699, allocations: 15.83 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003704, allocations: 7.984 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 5.833e-05/0.003762, allocations: 193.3 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.003801, allocations: 112.9 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.003835, allocations: 108.7 kB / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.00387, allocations: 180.3 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/0.003908, allocations: 184.2 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/0.003948, allocations: 180.3 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.004078, allocations: 333.4 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.004103, allocations: 108.9 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.004128, allocations: 101 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.03e-05/0.004168, allocations: 188.1 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.004208, allocations: 180.3 kB / 0.8442 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.925e-05/0.004247, allocations: 180.5 kB / 0.8443 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.774e-05/0.004285, allocations: 184.2 kB / 0.8445 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.004373, allocations: 315.8 kB / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.004411, allocations: 108.9 kB / 0.8449 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.004454, allocations: 184.2 kB / 0.8451 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.004763, allocations: 108.9 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.004802, allocations: 176.3 kB / 0.8454 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.004825, allocations: 112.9 kB / 0.8455 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.00485, allocations: 32.83 kB / 0.8455 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00485, allocations: 0 / 0.8455 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000125/0.004975, allocations: 19.89 kB / 0.8455 GB, free: 6.738 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 7.987e-05/0.005055, allocations: 154.1 kB / 0.8457 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.005106, allocations: 28.78 kB / 0.8457 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.005109, allocations: 0 / 0.8457 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.005109, allocations: 0 / 0.8457 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.005281, allocations: 459.7 kB / 0.8461 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.005486, allocations: 252.1 kB / 0.8464 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.005515, allocations: 63.78 kB / 0.8464 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.005543, allocations: 8.719 kB / 0.8464 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.00557, allocations: 55.38 kB / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of SimCode: time 4.4e-07/0.005571, allocations: 0 / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.001665/0.007236, allocations: 328.6 kB / 0.8468 GB, free: 5.352 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.276899525895715]