Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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.0009505/0.0009505, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009795/0.0009795, allocations: 177 kB / 23.36 MB, free: 1.129 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.9242/0.9242, 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.447/2.447, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.979e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.003199/0.003219, allocations: 2.853 MB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.005555, allocations: 1.857 MB / 0.8432 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.005683, allocations: 8 kB / 0.8433 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.007044, allocations: 0.7001 MB / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.007314, allocations: 226.3 kB / 0.8442 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.0075, allocations: 123.8 kB / 0.8443 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00554/0.01304, allocations: 6.521 MB / 0.8506 GB, free: 1.824 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.01316, allocations: 33.25 kB / 0.8507 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.01341, allocations: 275.2 kB / 0.8509 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.01359, allocations: 191.4 kB / 0.8511 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.01363, allocations: 24 kB / 0.8511 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.01403, allocations: 295.5 kB / 0.8514 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.0144, allocations: 0.6742 MB / 0.8521 GB, free: 352 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.01495, allocations: 398.9 kB / 0.8525 GB, free: 15.95 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.01587, allocations: 1.194 MB / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01587, allocations: 0 / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01587, allocations: 0 / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.01589, allocations: 0 / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001425/0.01731, allocations: 1.783 MB / 0.8554 GB, free: 12.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.01734, allocations: 8.625 kB / 0.8554 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.01746, allocations: 88.77 kB / 0.8555 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.01841, allocations: 1.002 MB / 0.8564 GB, free: 11.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.01842, allocations: 12.38 kB / 0.8564 GB, free: 11.76 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.01844, allocations: 8.375 kB / 0.8565 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.01856, allocations: 81.11 kB / 0.8565 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.01857, allocations: 0 / 0.8565 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.01858, allocations: 4 kB / 0.8565 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.01858, allocations: 0 / 0.8565 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.01864, allocations: 31.89 kB / 0.8566 GB, free: 11.63 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.01934, allocations: 0.5556 MB / 0.8571 GB, free: 11.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01944, allocations: 101.2 kB / 0.8572 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.01948, allocations: 24.92 kB / 0.8572 GB, free: 10.92 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.01952, allocations: 23.98 kB / 0.8573 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01955, allocations: 34.56 kB / 0.8573 GB, free: 10.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.01955, allocations: 4 kB / 0.8573 GB, free: 10.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.01978, allocations: 141.5 kB / 0.8574 GB, free: 10.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.01981, allocations: 51.41 kB / 0.8575 GB, free: 10.64 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.02082, allocations: 1.461 MB / 0.8589 GB, free: 9.145 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.02084, allocations: 33.7 kB / 0.8589 GB, free: 9.105 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.02131, allocations: 341.1 kB / 0.8593 GB, free: 8.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.02133, allocations: 31.7 kB / 0.8593 GB, free: 8.738 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.02143, allocations: 117.5 kB / 0.8594 GB, free: 8.617 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.02151, allocations: 337.9 kB / 0.8597 GB, free: 8.281 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.02161, allocations: 95.45 kB / 0.8598 GB, free: 8.188 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.02179, allocations: 324.1 kB / 0.8601 GB, free: 7.809 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.02199, allocations: 266.6 kB / 0.8604 GB, free: 7.539 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.022, allocations: 3.938 kB / 0.8604 GB, free: 7.535 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003441/0.02234, allocations: 389.4 kB / 0.8608 GB, free: 7.148 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.02236, allocations: 4.094 kB / 0.8608 GB, free: 7.145 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.02237, allocations: 11.98 kB / 0.8608 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.02238, allocations: 0 / 0.8608 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.0225, allocations: 43.95 kB / 0.8608 GB, free: 7.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.02251, allocations: 0 / 0.8608 GB, free: 7.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.02276, allocations: 112.9 kB / 0.8609 GB, free: 6.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.02278, allocations: 11.98 kB / 0.8609 GB, free: 6.969 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 12 * Array equations: 8 * 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.0001467/0.02292, allocations: 128.6 kB / 0.8611 GB, free: 6.832 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.023, allocations: 75.89 kB / 0.8611 GB, free: 6.758 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.02327, allocations: 234.7 kB / 0.8613 GB, free: 6.523 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.02327, allocations: 0 / 0.8613 GB, free: 6.523 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.02327, allocations: 0 / 0.8613 GB, free: 6.523 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.02328, allocations: 3.984 kB / 0.8614 GB, free: 6.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.02369, allocations: 455.3 kB / 0.8618 GB, free: 6.055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02369, allocations: 0 / 0.8618 GB, free: 6.055 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.02375, allocations: 19.98 kB / 0.8618 GB, free: 6.035 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.02376, allocations: 7.938 kB / 0.8618 GB, free: 6.027 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.02376, allocations: 4 kB / 0.8618 GB, free: 6.023 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02377, allocations: 0 / 0.8618 GB, free: 6.023 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02377, allocations: 3.984 kB / 0.8618 GB, free: 6.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.02396, allocations: 292.2 kB / 0.8621 GB, free: 5.715 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.02411, allocations: 178.7 kB / 0.8623 GB, free: 5.539 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.02419, allocations: 4 kB / 0.8623 GB, free: 5.535 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.02436, allocations: 23.97 kB / 0.8623 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.0244, allocations: 3.984 kB / 0.8623 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.0244, allocations: 4 kB / 0.8623 GB, free: 5.504 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005961/0.025, allocations: 0.7781 MB / 0.8631 GB, free: 4.703 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.025, allocations: 4 kB / 0.8631 GB, free: 4.699 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003767/0.02538, allocations: 219.8 kB / 0.8633 GB, free: 4.484 MB / 0.823 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 (12): * Single equations (assignments): 12 * 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.0002292/0.02561, allocations: 152.3 kB / 0.8634 GB, free: 4.324 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.02581, allocations: 162.7 kB / 0.8636 GB, free: 4.164 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/0.02582, allocations: 20 kB / 0.8636 GB, free: 4.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.02586, allocations: 32.77 kB / 0.8636 GB, free: 4.109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.02797, allocations: 1.22 MB / 0.8648 GB, free: 2.898 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.03014, allocations: 2.081 MB / 0.8669 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.03041, allocations: 379.8 kB / 0.8672 GB, free: 384 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.03095, allocations: 221.6 kB / 0.8674 GB, free: 156 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/0.03229, allocations: 0.7214 MB / 0.8681 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of SimCode: time 1.102e-06/0.03229, allocations: 0 / 0.8681 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.0438/0.0761, allocations: 41.02 MB / 0.9082 GB, free: 7.594 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.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.763377699069679]