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.001669/0.001669, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001998/0.001998, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.192/3.192, allocations: 0.505 GB / 0.8108 GB, free: 21.99 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.001992/0.001992, allocations: 72 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3743, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004395/0.3787, allocations: 2.875 MB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3818, allocations: 1.888 MB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3819, allocations: 11.94 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3838, allocations: 0.7404 MB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.3841, allocations: 210.6 kB / 1.36 GB, free: 2.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3844, allocations: 127.8 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3947, allocations: 6.609 MB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3949, allocations: 33.27 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.3951, allocations: 199.1 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.3955, allocations: 258.8 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.3956, allocations: 28 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006266/0.3962, allocations: 279.6 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006035/0.3968, allocations: 0.6388 MB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.3974, allocations: 0.6872 MB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.3995, allocations: 1.929 MB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3995, allocations: 4 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3995, allocations: 0 / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.3995, allocations: 3.938 kB / 1.37 GB, free: 7.355 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.002756/0.4022, allocations: 1.851 MB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4023, allocations: 12.03 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.4025, allocations: 175.7 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4046, allocations: 1.463 MB / 1.374 GB, free: 3.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4046, allocations: 12.12 kB / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.4047, allocations: 11.94 kB / 1.374 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.4051, allocations: 285.6 kB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4051, allocations: 3.984 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4051, allocations: 4 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4051, allocations: 0 / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.4057, allocations: 0.4919 MB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.4077, allocations: 1.52 MB / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.4082, allocations: 482.4 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.4085, allocations: 252.8 kB / 1.377 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.4085, allocations: 28.16 kB / 1.377 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4086, allocations: 34.5 kB / 1.377 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4086, allocations: 0 / 1.377 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001168/0.4098, allocations: 0.9103 MB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4098, allocations: 55.41 kB / 1.378 GB, free: 15.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.4126, allocations: 2.301 MB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4126, allocations: 29.7 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006667/0.4133, allocations: 0.6889 MB / 1.381 GB, free: 12.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.4133, allocations: 31.73 kB / 1.381 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.4135, allocations: 121.6 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4136, allocations: 334 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.4144, allocations: 0.6958 MB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.4152, allocations: 0.7845 MB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.4167, allocations: 1.456 MB / 1.384 GB, free: 9.066 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4167, allocations: 384 / 1.384 GB, free: 9.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001973/0.4186, allocations: 1.679 MB / 1.386 GB, free: 7.375 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4187, allocations: 8 kB / 1.386 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4187, allocations: 0 / 1.386 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4187, allocations: 3.938 kB / 1.386 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4189, allocations: 43.97 kB / 1.386 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4189, allocations: 8.078 kB / 1.386 GB, free: 7.312 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.4195, allocations: 111.9 kB / 1.386 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4195, allocations: 19.98 kB / 1.386 GB, free: 7.184 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.0006986/0.4202, allocations: 0.4936 MB / 1.386 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.4204, allocations: 174.8 kB / 1.386 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.4214, allocations: 0.6978 MB / 1.387 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4214, allocations: 8 kB / 1.387 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4214, allocations: 0 / 1.387 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4214, allocations: 3.938 kB / 1.387 GB, free: 5.793 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.4225, allocations: 0.959 MB / 1.388 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4225, allocations: 0 / 1.388 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.4227, allocations: 27.92 kB / 1.388 GB, free: 4.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4227, allocations: 8 kB / 1.388 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4227, allocations: 0 / 1.388 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4227, allocations: 0 / 1.388 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4227, allocations: 0 / 1.388 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.4235, allocations: 0.797 MB / 1.389 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.4239, allocations: 194.8 kB / 1.389 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.424, allocations: 0 / 1.389 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.4243, allocations: 27.97 kB / 1.389 GB, free: 3.715 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.4244, allocations: 15.91 kB / 1.389 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4244, allocations: 11.98 kB / 1.389 GB, free: 3.688 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002094/0.4265, allocations: 1.614 MB / 1.391 GB, free: 2.055 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 1.391 GB, free: 2.055 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006566/0.4271, allocations: 219.8 kB / 1.391 GB, free: 1.84 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.0003244/0.4275, allocations: 159 kB / 1.391 GB, free: 1.676 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.4287, allocations: 0.9742 MB / 1.392 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4287, allocations: 0 / 1.392 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.429, allocations: 259.8 kB / 1.392 GB, free: 460 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/0.4331, allocations: 1.209 MB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.437, allocations: 2.831 MB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.4381, allocations: 1.376 MB / 1.397 GB, free: 10.96 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.4384, allocations: 87.44 kB / 1.398 GB, free: 10.88 MB / 1.092 GB Notification: Performance of SimCode: time 9.51e-07/0.4384, allocations: 4 kB / 1.398 GB, free: 10.88 MB / 1.092 GB Notification: Performance of Templates: time 0.04228/0.4807, allocations: 27.25 MB / 1.424 GB, free: 15.95 MB / 1.123 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/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.601794148999033]