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.000791/0.000791, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000814/0.000814, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8621/0.8621, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.725/1.725, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.422e-05, allocations: 10.22 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.002653/0.002678, allocations: 2.649 MB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004524, allocations: 1.767 MB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.004632, allocations: 8 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.005852, allocations: 0.7042 MB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.00607, allocations: 230.3 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.006232, allocations: 131.8 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004947/0.01118, allocations: 6.654 MB / 1.013 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.01129, allocations: 25.22 kB / 1.013 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.0115, allocations: 267.3 kB / 1.013 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.01166, allocations: 211.2 kB / 1.013 GB, free: 316 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.01169, allocations: 28 kB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.01198, allocations: 263.7 kB / 1.014 GB, free: 24 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.0123, allocations: 0.6625 MB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.01253, allocations: 398.8 kB / 1.015 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.01369, allocations: 1.884 MB / 1.016 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01369, allocations: 0 / 1.016 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01369, allocations: 0 / 1.016 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.0137, allocations: 3.938 kB / 1.016 GB, free: 13.07 MB / 0.9792 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.001476/0.01518, allocations: 1.845 MB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01522, allocations: 12.75 kB / 1.018 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.01535, allocations: 175.7 kB / 1.018 GB, free: 11 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.0166, allocations: 1.458 MB / 1.02 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.01661, allocations: 12.36 kB / 1.02 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.01663, allocations: 8.375 kB / 1.02 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.0169, allocations: 293.5 kB / 1.02 GB, free: 9.176 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.01691, allocations: 0 / 1.02 GB, free: 9.176 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.01692, allocations: 4 kB / 1.02 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.01692, allocations: 0 / 1.02 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.01727, allocations: 0.4918 MB / 1.021 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01848, allocations: 1.394 MB / 1.022 GB, free: 7.25 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.01884, allocations: 490.4 kB / 1.022 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.01901, allocations: 248.9 kB / 1.023 GB, free: 6.516 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.01907, allocations: 27.98 kB / 1.023 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.01909, allocations: 38.56 kB / 1.023 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.01909, allocations: 4 kB / 1.023 GB, free: 6.438 MB / 0.9792 GB Notification: Performance of matching and sorting (n=9): time 0.0008101/0.0199, allocations: 0.9183 MB / 1.024 GB, free: 5.512 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01993, allocations: 51.41 kB / 1.024 GB, free: 5.449 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.02161, allocations: 2.289 MB / 1.026 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.02163, allocations: 29.7 kB / 1.026 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.02203, allocations: 0.6927 MB / 1.027 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.02206, allocations: 27.75 kB / 1.027 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/0.02216, allocations: 121.6 kB / 1.027 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.02224, allocations: 333.9 kB / 1.027 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.02268, allocations: 0.6996 MB / 1.028 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.02318, allocations: 0.9218 MB / 1.029 GB, free: 228 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.02416, allocations: 1.449 MB / 1.03 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02416, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001133/0.02529, allocations: 1.691 MB / 1.032 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.02531, allocations: 7.984 kB / 1.032 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02532, allocations: 0 / 1.032 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.02533, allocations: 4 kB / 1.032 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.02546, allocations: 39.97 kB / 1.032 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.02547, allocations: 4 kB / 1.032 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.02574, allocations: 111.3 kB / 1.032 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.02577, allocations: 20.08 kB / 1.032 GB, free: 12.88 MB / 0.9948 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.0003689/0.02614, allocations: 0.4897 MB / 1.032 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.02624, allocations: 170.9 kB / 1.033 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.02681, allocations: 0.7135 MB / 1.033 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02681, allocations: 4 kB / 1.033 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.02682, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02682, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.02743, allocations: 0.8483 MB / 1.034 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02744, allocations: 0 / 1.034 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.0275, allocations: 27.92 kB / 1.034 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.0275, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.02751, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.02751, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02751, allocations: 7.984 kB / 1.034 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.028, allocations: 0.7969 MB / 1.035 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.02818, allocations: 194.8 kB / 1.035 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.02826, allocations: 4 kB / 1.035 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.02843, allocations: 19.97 kB / 1.035 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.02847, allocations: 11.92 kB / 1.035 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.02848, allocations: 11.98 kB / 1.035 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001321/0.0298, allocations: 1.61 MB / 1.037 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.0298, allocations: 0 / 1.037 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004142/0.03021, allocations: 215.9 kB / 1.037 GB, free: 7.664 MB / 0.9948 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.0003888/0.0306, allocations: 171.2 kB / 1.037 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.03135, allocations: 0.9861 MB / 1.038 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.03135, allocations: 0 / 1.038 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.03154, allocations: 259.8 kB / 1.038 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.0337, allocations: 1.194 MB / 1.039 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.03625, allocations: 2.816 MB / 1.042 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.03684, allocations: 0.7791 MB / 1.043 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.03698, allocations: 104.5 kB / 1.043 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of SimCode: time 9.42e-07/0.03698, allocations: 0 / 1.043 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of Templates: time 0.4441/0.4811, allocations: 28.02 MB / 1.07 GB, free: 88.43 MB / 1.01 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.288389791734517]