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.001731/0.001731, allocations: 104.3 kB / 19.7 MB, free: 2.008 MB / 14.72 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.002211/0.002211, allocations: 210.5 kB / 22.98 MB, free: 4.41 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.266/3.266, allocations: 0.505 GB / 0.8109 GB, free: 23.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.7 kB / 1.178 GB, free: 16.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.403, allocations: 180.2 MB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004561/0.4076, allocations: 2.66 MB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.4108, allocations: 1.74 MB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.411, allocations: 11.94 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.4131, allocations: 0.7122 MB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.4136, allocations: 222.5 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.4139, allocations: 130.5 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.4248, allocations: 6.6 MB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4249, allocations: 29.27 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.4252, allocations: 207 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.4256, allocations: 258.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.4257, allocations: 28 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.4263, allocations: 271.6 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.4269, allocations: 0.6349 MB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.4274, allocations: 0.5085 MB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.4296, allocations: 1.949 MB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4296, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4296, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.4296, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 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.003011/0.4326, allocations: 1.874 MB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4327, allocations: 8.031 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.4329, allocations: 175.7 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.4353, allocations: 1.447 MB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.4353, allocations: 20.11 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4353, allocations: 8 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.4358, allocations: 289.5 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4358, allocations: 0 / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4358, allocations: 0 / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4358, allocations: 4 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.4364, allocations: 499.7 kB / 1.374 GB, free: 3.059 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.4388, allocations: 1.394 MB / 1.375 GB, free: 1.629 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.4394, allocations: 490.4 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.4397, allocations: 248.9 kB / 1.376 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-05/0.4398, allocations: 28.09 kB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4398, allocations: 38.5 kB / 1.376 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.4398, allocations: 0 / 1.376 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001358/0.4412, allocations: 0.9145 MB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4413, allocations: 51.5 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.4447, allocations: 2.297 MB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.4447, allocations: 29.7 kB / 1.379 GB, free: 13.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/0.4455, allocations: 0.685 MB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.4455, allocations: 31.73 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4457, allocations: 133.6 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4459, allocations: 333.9 kB / 1.38 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.4467, allocations: 0.6918 MB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.4476, allocations: 0.9295 MB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.4492, allocations: 1.449 MB / 1.383 GB, free: 9.141 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4492, allocations: 4 kB / 1.383 GB, free: 9.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002171/0.4514, allocations: 1.683 MB / 1.385 GB, free: 7.441 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4514, allocations: 5.719 kB / 1.385 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4514, allocations: 0 / 1.385 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.4514, allocations: 4 kB / 1.385 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.4517, allocations: 43.95 kB / 1.385 GB, free: 7.391 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4517, allocations: 4 kB / 1.385 GB, free: 7.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.4524, allocations: 121.5 kB / 1.385 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.4525, allocations: 19.92 kB / 1.385 GB, free: 7.25 MB / 1.076 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.0007688/0.4532, allocations: 0.4936 MB / 1.386 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.4535, allocations: 170.8 kB / 1.386 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4546, allocations: 0.7094 MB / 1.386 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4546, allocations: 0 / 1.386 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4546, allocations: 0 / 1.386 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4546, allocations: 4 kB / 1.386 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4558, allocations: 0.8406 MB / 1.387 GB, free: 4.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4558, allocations: 3.938 kB / 1.387 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.4559, allocations: 27.97 kB / 1.387 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.4559, allocations: 4 kB / 1.387 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4559, allocations: 4 kB / 1.387 GB, free: 4.945 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4559, allocations: 4 kB / 1.387 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.4559, allocations: 8 kB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.4569, allocations: 0.7891 MB / 1.388 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.4574, allocations: 198.7 kB / 1.388 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4575, allocations: 4 kB / 1.388 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4579, allocations: 19.97 kB / 1.388 GB, free: 3.906 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.4579, allocations: 15.92 kB / 1.388 GB, free: 3.891 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.4579, allocations: 8 kB / 1.388 GB, free: 3.883 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002387/0.4603, allocations: 1.61 MB / 1.39 GB, free: 2.254 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4603, allocations: 4 kB / 1.39 GB, free: 2.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008237/0.4612, allocations: 215.9 kB / 1.39 GB, free: 2.039 MB / 1.076 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.0003511/0.4615, allocations: 163 kB / 1.39 GB, free: 1.871 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.4628, allocations: 0.965 MB / 1.391 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4628, allocations: 7.938 kB / 1.391 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.4631, allocations: 255.8 kB / 1.392 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.4675, allocations: 1.204 MB / 1.393 GB, free: 15.45 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.4718, allocations: 2.838 MB / 1.395 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009414/0.4727, allocations: 0.783 MB / 1.396 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.473, allocations: 95.42 kB / 1.396 GB, free: 11.66 MB / 1.092 GB Notification: Performance of SimCode: time 1.202e-06/0.473, allocations: 4 kB / 1.396 GB, free: 11.66 MB / 1.092 GB Notification: Performance of Templates: time 0.04615/0.5192, allocations: 28.03 MB / 1.424 GB, free: 15.95 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins1/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: 19.537003197998274]