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.0009442/0.0009442, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001755/0.001755, allocations: 169 kB / 23.02 MB, free: 1.539 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.9119/0.9119, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 1.964/1.964, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.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.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.443e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.002964/0.002988, allocations: 2.855 MB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.005102, allocations: 1.831 MB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.005252, allocations: 7.938 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.006704, allocations: 0.7168 MB / 0.8835 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.006978, allocations: 217 kB / 0.8837 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.007186, allocations: 135.7 kB / 0.8838 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005562/0.01275, allocations: 6.703 MB / 0.8904 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.01286, allocations: 21.28 kB / 0.8904 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.01314, allocations: 271.2 kB / 0.8906 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.01332, allocations: 207.3 kB / 0.8908 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.01336, allocations: 28 kB / 0.8909 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.01371, allocations: 263.6 kB / 0.8911 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000376/0.01409, allocations: 0.6742 MB / 0.8918 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.01439, allocations: 394.8 kB / 0.8922 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009817/0.01537, allocations: 1.195 MB / 0.8933 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01538, allocations: 3.984 kB / 0.8933 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01538, allocations: 4 kB / 0.8933 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.912e-05/0.01541, allocations: 0 / 0.8933 GB, free: 6.793 MB / 0.8542 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.001943/0.01735, allocations: 2.075 MB / 0.8954 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.01739, allocations: 8.031 kB / 0.8954 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.01755, allocations: 175.7 kB / 0.8955 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.01865, allocations: 1.215 MB / 0.8967 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.01866, allocations: 8.375 kB / 0.8967 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.01868, allocations: 8.375 kB / 0.8967 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.01882, allocations: 86.23 kB / 0.8968 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.01883, allocations: 7.984 kB / 0.8968 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.01884, allocations: 0 / 0.8968 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.01885, allocations: 4 kB / 0.8968 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.01893, allocations: 43.94 kB / 0.8969 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.02018, allocations: 1.307 MB / 0.8981 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.02029, allocations: 62.98 kB / 0.8982 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.02033, allocations: 23.67 kB / 0.8982 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.02038, allocations: 31.97 kB / 0.8983 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.02039, allocations: 33.39 kB / 0.8983 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.0204, allocations: 4 kB / 0.8983 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003341/0.02073, allocations: 264.6 kB / 0.8985 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.02076, allocations: 55.5 kB / 0.8986 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.02247, allocations: 2.147 MB / 0.9007 GB, free: 15 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.02249, allocations: 29.7 kB / 0.9007 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/0.02319, allocations: 0.8896 MB / 0.9016 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.02322, allocations: 31.75 kB / 0.9016 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02333, allocations: 135.3 kB / 0.9018 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.02345, allocations: 0.5081 MB / 0.9022 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.02357, allocations: 128.6 kB / 0.9024 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.02379, allocations: 393.5 kB / 0.9027 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.02406, allocations: 339.1 kB / 0.9031 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02406, allocations: 4 kB / 0.9031 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004837/0.02455, allocations: 0.5705 MB / 0.9036 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.02457, allocations: 10.19 kB / 0.9036 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02457, allocations: 7.984 kB / 0.9036 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.02459, allocations: 4 kB / 0.9037 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.02473, allocations: 40 kB / 0.9037 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.02473, allocations: 4 kB / 0.9037 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.02498, allocations: 104 kB / 0.9038 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.025, allocations: 19.98 kB / 0.9038 GB, free: 11.7 MB / 0.8698 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.0001459/0.02515, allocations: 176.4 kB / 0.904 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.02525, allocations: 170.8 kB / 0.9041 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.02554, allocations: 254.6 kB / 0.9044 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.02554, allocations: 0 / 0.9044 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.02555, allocations: 0 / 0.9044 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02555, allocations: 0 / 0.9044 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.02633, allocations: 0.9837 MB / 0.9053 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02633, allocations: 0 / 0.9053 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.02639, allocations: 23.98 kB / 0.9054 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.02639, allocations: 0 / 0.9054 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.0264, allocations: 8 kB / 0.9054 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02641, allocations: 3.938 kB / 0.9054 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.02641, allocations: 0 / 0.9054 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.02666, allocations: 420.3 kB / 0.9058 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.02683, allocations: 198.7 kB / 0.906 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.0269, allocations: 4 kB / 0.906 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.02707, allocations: 15.92 kB / 0.906 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.02711, allocations: 15.97 kB / 0.906 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.02712, allocations: 11.98 kB / 0.906 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009863/0.02811, allocations: 1.173 MB / 0.9072 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02811, allocations: 0 / 0.9072 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003888/0.0285, allocations: 215.9 kB / 0.9074 GB, free: 7.945 MB / 0.8698 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.0002327/0.02873, allocations: 175 kB / 0.9075 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.02901, allocations: 229.4 kB / 0.9078 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02901, allocations: 4 kB / 0.9078 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.02906, allocations: 39.61 kB / 0.9078 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.03133, allocations: 1.218 MB / 0.909 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.03315, allocations: 2.087 MB / 0.911 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.03339, allocations: 379.8 kB / 0.9114 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.03385, allocations: 205.6 kB / 0.9116 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.03398, allocations: 104.5 kB / 0.9117 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.03398, allocations: 0 / 0.9117 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of Templates: time 0.03979/0.07376, allocations: 40.47 MB / 0.9512 GB, free: 11.92 MB / 0.9167 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.569839311763644]