Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009569/0.0009569, allocations: 80.75 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.001053/0.001053, 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.947/0.947, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.466/2.466, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.656e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.004628/0.004645, allocations: 0.849 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.004789, allocations: 51.72 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.00484, allocations: 8 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.004878, allocations: 15.8 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.004948, allocations: 15.81 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.43e-05/0.005002, allocations: 23.97 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.005113, allocations: 83.77 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.00522, allocations: 41.91 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.005317, allocations: 55.78 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.005368, allocations: 19.89 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.005389, allocations: 8 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.005401, allocations: 8 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.005423, allocations: 11.94 kB / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.005448, allocations: 23.92 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.005541, allocations: 63.69 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.005543, allocations: 0 / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005544, allocations: 0 / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.005547, allocations: 0 / 0.8398 GB, free: 12.93 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.0003074/0.005854, allocations: 292.7 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.005889, allocations: 8.625 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.005922, allocations: 20.92 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.006059, allocations: 145.5 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.006069, allocations: 0.5625 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.006082, allocations: 16.38 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.006193, allocations: 97.66 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006202, allocations: 7.938 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.006211, allocations: 4 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.006221, allocations: 4 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.006255, allocations: 19.98 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.006645, allocations: 0.5166 MB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.006706, allocations: 173.1 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.006728, allocations: 84.08 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.006747, allocations: 75.28 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.006783, allocations: 113.8 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.006784, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.955e-05/0.006834, allocations: 29.7 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.006882, allocations: 134.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006983, allocations: 154.6 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.00699, allocations: 25.7 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.007046, allocations: 127.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.007049, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.007081, allocations: 25.66 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.007162, allocations: 326.8 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.007169, allocations: 8.219 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.007204, allocations: 54.84 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.007264, allocations: 70.67 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007266, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000118/0.007384, allocations: 81.42 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007396, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007401, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.007416, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.007467, allocations: 15.98 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.00747, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.007505, allocations: 11.89 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007511, allocations: 4.25 kB / 0.8424 GB, free: 10.08 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 7.445e-05/0.007585, allocations: 193.1 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.007889, allocations: 116.9 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.007929, allocations: 104.8 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/0.007973, allocations: 184.2 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.461e-05/0.008018, allocations: 180.2 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-05/0.008061, allocations: 180.2 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.00823, allocations: 337.4 kB / 0.8436 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.008256, allocations: 105 kB / 0.8437 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.008281, allocations: 104.9 kB / 0.8438 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.294e-05/0.008324, allocations: 180.2 kB / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.008369, allocations: 192.2 kB / 0.8442 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.09e-05/0.00841, allocations: 176.5 kB / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.186e-05/0.008452, allocations: 184.2 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.00855, allocations: 311.8 kB / 0.8448 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.008593, allocations: 112.9 kB / 0.8449 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.008644, allocations: 184.2 kB / 0.8451 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.008707, allocations: 112.9 kB / 0.8452 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.00875, allocations: 176.3 kB / 0.8454 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.008776, allocations: 105 kB / 0.8455 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.008808, allocations: 35.67 kB / 0.8455 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008809, allocations: 4 kB / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002056/0.009014, allocations: 11.94 kB / 0.8455 GB, free: 6.68 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 8.656e-05/0.009101, allocations: 159.6 kB / 0.8457 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.661e-05/0.009157, allocations: 24.8 kB / 0.8457 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.009161, allocations: 0 / 0.8457 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.009164, allocations: 0 / 0.8457 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.009389, allocations: 468.1 kB / 0.8462 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.009624, allocations: 248.2 kB / 0.8464 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.009658, allocations: 63.34 kB / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.009687, allocations: 8.484 kB / 0.8465 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.00972, allocations: 55.38 kB / 0.8465 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/0.00972, allocations: 3.938 kB / 0.8465 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of Templates: time 0.004916/0.01464, allocations: 355.3 kB / 0.8469 GB, free: 5.266 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.273371717892587]