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.001265/0.001265, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001514/0.001514, allocations: 177 kB / 23.36 MB, free: 1.137 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.9165/0.9165, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.285/2.285, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 178] 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.512e-06/1.512e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.037e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004134/0.004154, allocations: 2.81 MB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.007291, allocations: 1.867 MB / 0.8432 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.007501, allocations: 8 kB / 0.8432 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.009457, allocations: 0.7158 MB / 0.8439 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.009881, allocations: 230.3 kB / 0.8441 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.01017, allocations: 131.8 kB / 0.8442 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008599/0.01877, allocations: 6.513 MB / 0.8506 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.01891, allocations: 29.27 kB / 0.8506 GB, free: 1.824 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.0193, allocations: 271.2 kB / 0.8509 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.01957, allocations: 195.4 kB / 0.8511 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.01963, allocations: 28 kB / 0.8511 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.0201, allocations: 267.5 kB / 0.8513 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.02059, allocations: 0.6742 MB / 0.852 GB, free: 412 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.02104, allocations: 390.9 kB / 0.8524 GB, free: 20 kB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.02241, allocations: 1.202 MB / 0.8535 GB, free: 14.81 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.02242, allocations: 0 / 0.8535 GB, free: 14.81 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.02242, allocations: 0 / 0.8535 GB, free: 14.81 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.02244, allocations: 0 / 0.8535 GB, free: 14.81 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.002358/0.0248, allocations: 1.775 MB / 0.8553 GB, free: 13 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.02484, allocations: 12.62 kB / 0.8553 GB, free: 12.98 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.02501, allocations: 84.83 kB / 0.8554 GB, free: 12.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.02643, allocations: 1.005 MB / 0.8564 GB, free: 11.83 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.02645, allocations: 12.38 kB / 0.8564 GB, free: 11.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.02647, allocations: 8.375 kB / 0.8564 GB, free: 11.81 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.02663, allocations: 81.06 kB / 0.8564 GB, free: 11.72 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.02664, allocations: 7.984 kB / 0.8565 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.02665, allocations: 0 / 0.8565 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.02665, allocations: 3.938 kB / 0.8565 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.02672, allocations: 23.97 kB / 0.8565 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.02774, allocations: 0.5595 MB / 0.857 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.02786, allocations: 105.1 kB / 0.8571 GB, free: 11 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.02789, allocations: 16.84 kB / 0.8571 GB, free: 10.98 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.02795, allocations: 27.98 kB / 0.8572 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.02797, allocations: 34.56 kB / 0.8572 GB, free: 10.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.02797, allocations: 0 / 0.8572 GB, free: 10.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002859/0.02826, allocations: 141.7 kB / 0.8573 GB, free: 10.76 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.02829, allocations: 51.41 kB / 0.8574 GB, free: 10.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.02983, allocations: 1.461 MB / 0.8588 GB, free: 9.203 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.02985, allocations: 33.69 kB / 0.8588 GB, free: 9.164 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.03012, allocations: 337.1 kB / 0.8592 GB, free: 8.832 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.03016, allocations: 43.67 kB / 0.8592 GB, free: 8.789 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.03029, allocations: 113.5 kB / 0.8593 GB, free: 8.672 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.03039, allocations: 329.9 kB / 0.8596 GB, free: 8.344 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.03052, allocations: 99.45 kB / 0.8597 GB, free: 8.246 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.03076, allocations: 320 kB / 0.86 GB, free: 7.871 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.03098, allocations: 266.6 kB / 0.8603 GB, free: 7.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.03098, allocations: 7.938 kB / 0.8603 GB, free: 7.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003509/0.03133, allocations: 397.4 kB / 0.8607 GB, free: 7.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.03135, allocations: 4 kB / 0.8607 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.03136, allocations: 4 kB / 0.8607 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.03137, allocations: 112 / 0.8607 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.0315, allocations: 39.91 kB / 0.8607 GB, free: 7.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.0315, allocations: 4 kB / 0.8607 GB, free: 7.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.03175, allocations: 112.9 kB / 0.8608 GB, free: 7.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.03177, allocations: 15.98 kB / 0.8608 GB, free: 7.023 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.0001371/0.03191, allocations: 120.6 kB / 0.861 GB, free: 6.895 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.03198, allocations: 75.91 kB / 0.861 GB, free: 6.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.03222, allocations: 226.8 kB / 0.8613 GB, free: 6.594 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.03223, allocations: 4 kB / 0.8613 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.03223, allocations: 0 / 0.8613 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.03223, allocations: 3.984 kB / 0.8613 GB, free: 6.586 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.03261, allocations: 451.2 kB / 0.8617 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.03261, allocations: 0 / 0.8617 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.03267, allocations: 27.98 kB / 0.8617 GB, free: 6.098 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.03268, allocations: 3.938 kB / 0.8617 GB, free: 6.094 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.03268, allocations: 4 kB / 0.8617 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.03269, allocations: 0 / 0.8617 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03269, allocations: 0 / 0.8617 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.03286, allocations: 300.1 kB / 0.862 GB, free: 5.777 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.03302, allocations: 178.7 kB / 0.8622 GB, free: 5.602 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.03309, allocations: 8 kB / 0.8622 GB, free: 5.594 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.03325, allocations: 19.97 kB / 0.8622 GB, free: 5.574 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.03328, allocations: 7.984 kB / 0.8622 GB, free: 5.566 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.03329, allocations: 4 kB / 0.8622 GB, free: 5.562 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005677/0.03386, allocations: 0.7781 MB / 0.863 GB, free: 4.762 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.03386, allocations: 0 / 0.863 GB, free: 4.762 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003646/0.03422, allocations: 215.9 kB / 0.8632 GB, free: 4.551 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.0002094/0.03443, allocations: 156.2 kB / 0.8633 GB, free: 4.387 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.03463, allocations: 168.5 kB / 0.8635 GB, free: 4.223 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.03464, allocations: 23.94 kB / 0.8635 GB, free: 4.199 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.03467, allocations: 32.98 kB / 0.8635 GB, free: 4.164 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.03666, allocations: 1.215 MB / 0.8647 GB, free: 2.953 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.03844, allocations: 2.076 MB / 0.8668 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.0387, allocations: 379.8 kB / 0.8671 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004769/0.03918, allocations: 221.6 kB / 0.8673 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/0.04039, allocations: 0.7253 MB / 0.868 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/0.04039, allocations: 0 / 0.868 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.03964/0.08003, allocations: 41.02 MB / 0.9081 GB, free: 7.648 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 -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.718952857889235]