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.001758/0.001758, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002806/0.002806, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.977 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.625/3.625, allocations: 0.5049 GB / 0.81 GB, free: 22 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.002288/0.002288, allocations: 67.22 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4229, allocations: 180.2 MB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.00477/0.4276, allocations: 2.862 MB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.4311, allocations: 1.89 MB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.4312, allocations: 11.94 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.4335, allocations: 0.7371 MB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.4339, allocations: 218.6 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4342, allocations: 123.8 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.4452, allocations: 6.614 MB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4454, allocations: 29.27 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.4457, allocations: 199.1 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.446, allocations: 258.8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.4461, allocations: 28 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.4467, allocations: 275.6 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.4473, allocations: 0.6349 MB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.448, allocations: 0.6833 MB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.4509, allocations: 1.945 MB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4509, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4509, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.4509, allocations: 0 / 1.369 GB, free: 7.547 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.003031/0.454, allocations: 1.855 MB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.454, allocations: 8.031 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.4542, allocations: 175.7 kB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.4567, allocations: 1.459 MB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4568, allocations: 20.11 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4568, allocations: 8 kB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.4574, allocations: 297.4 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4574, allocations: 0 / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4574, allocations: 4 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4574, allocations: 0 / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.4581, allocations: 491.8 kB / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.4604, allocations: 1.52 MB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.4611, allocations: 494.3 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.4614, allocations: 244.8 kB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.4615, allocations: 27.97 kB / 1.376 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4615, allocations: 42.56 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4615, allocations: 0 / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001314/0.4628, allocations: 0.9143 MB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4629, allocations: 51.41 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.466, allocations: 2.297 MB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.466, allocations: 25.7 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/0.4667, allocations: 0.6967 MB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.4668, allocations: 27.75 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.4669, allocations: 121.6 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4671, allocations: 334 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.4681, allocations: 0.6995 MB / 1.381 GB, free: 11.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.4692, allocations: 0.7751 MB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.471, allocations: 1.456 MB / 1.383 GB, free: 9.258 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.471, allocations: 0 / 1.383 GB, free: 9.258 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002401/0.4734, allocations: 1.681 MB / 1.385 GB, free: 7.566 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4734, allocations: 4 kB / 1.385 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4734, allocations: 0 / 1.385 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4734, allocations: 4 kB / 1.385 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.4737, allocations: 47.89 kB / 1.385 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4737, allocations: 0 / 1.385 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.4744, allocations: 120.4 kB / 1.385 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.4744, allocations: 16 kB / 1.385 GB, free: 7.379 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.0007354/0.4751, allocations: 0.4975 MB / 1.385 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4753, allocations: 170.8 kB / 1.386 GB, free: 6.703 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.4763, allocations: 0.7134 MB / 1.386 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4763, allocations: 0 / 1.386 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4763, allocations: 0 / 1.386 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4763, allocations: 3.938 kB / 1.386 GB, free: 5.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4776, allocations: 0.9474 MB / 1.387 GB, free: 4.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4776, allocations: 3.938 kB / 1.387 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.4777, allocations: 31.97 kB / 1.387 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4777, allocations: 0 / 1.387 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4777, allocations: 8 kB / 1.387 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.4777, allocations: 7.984 kB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4777, allocations: 3.984 kB / 1.387 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.4786, allocations: 0.7891 MB / 1.388 GB, free: 4.121 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.479, allocations: 199.1 kB / 1.388 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4791, allocations: 4 kB / 1.388 GB, free: 3.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.4795, allocations: 23.95 kB / 1.388 GB, free: 3.898 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4795, allocations: 19.92 kB / 1.388 GB, free: 3.879 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.4796, allocations: 11.94 kB / 1.388 GB, free: 3.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002322/0.4819, allocations: 1.61 MB / 1.39 GB, free: 2.238 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4819, allocations: 0 / 1.39 GB, free: 2.238 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006702/0.4826, allocations: 215.9 kB / 1.39 GB, free: 2.027 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.0003359/0.4829, allocations: 159 kB / 1.39 GB, free: 1.863 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.4842, allocations: 0.9728 MB / 1.391 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4842, allocations: 0 / 1.391 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.4845, allocations: 255.9 kB / 1.391 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/0.4887, allocations: 1.207 MB / 1.393 GB, free: 15.44 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.4929, allocations: 2.706 MB / 1.395 GB, free: 12.7 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.4942, allocations: 1.368 MB / 1.397 GB, free: 11.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009166/0.4952, allocations: 277.7 kB / 1.397 GB, free: 11.02 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4954, allocations: 91.42 kB / 1.397 GB, free: 10.93 MB / 1.092 GB Notification: Performance of SimCode: time 1.182e-06/0.4954, allocations: 0 / 1.397 GB, free: 10.93 MB / 1.092 GB Notification: Performance of Templates: time 0.06495/0.5603, allocations: 34.77 MB / 1.431 GB, free: 8.777 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/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: 11.109022834803909]