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.001692/0.001692, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002284/0.002284, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.82 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.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",fmuType="me",version="2.0",platforms={"static"}) [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.00215/0.00215, allocations: 71.77 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004979/0.4446, allocations: 2.665 MB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.4482, allocations: 1.75 MB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.4484, allocations: 8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.4504, allocations: 0.7105 MB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.4508, allocations: 214.5 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.4512, allocations: 127.8 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.4614, allocations: 6.579 MB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.4616, allocations: 33.27 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.4619, allocations: 203 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.4622, allocations: 234.8 kB / 1.376 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.61e-05/0.4623, allocations: 28 kB / 1.376 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006158/0.4629, allocations: 263.6 kB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.4635, allocations: 0.6311 MB / 1.377 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.4641, allocations: 0.5124 MB / 1.377 GB, free: 124 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.4663, allocations: 1.949 MB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4663, allocations: 4 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4663, allocations: 0 / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.4663, allocations: 0 / 1.379 GB, free: 14.16 MB / 1.076 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.003192/0.4695, allocations: 1.851 MB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4696, allocations: 15.97 kB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.4696, allocations: 38.73 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.4699, allocations: 175.7 kB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.4723, allocations: 1.451 MB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4723, allocations: 23.88 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4724, allocations: 8 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.4728, allocations: 289.5 kB / 1.383 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4728, allocations: 0 / 1.383 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4729, allocations: 0 / 1.383 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4729, allocations: 4 kB / 1.383 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.4735, allocations: 499.7 kB / 1.383 GB, free: 9.707 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.4759, allocations: 1.427 MB / 1.385 GB, free: 8.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.4765, allocations: 490.3 kB / 1.385 GB, free: 7.742 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.4768, allocations: 248.8 kB / 1.385 GB, free: 7.496 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.4769, allocations: 23.98 kB / 1.385 GB, free: 7.473 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4769, allocations: 30.56 kB / 1.385 GB, free: 7.434 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.4769, allocations: 0 / 1.385 GB, free: 7.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001341/0.4783, allocations: 0.9221 MB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.4783, allocations: 55.41 kB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.4815, allocations: 2.297 MB / 1.388 GB, free: 4.105 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.4815, allocations: 29.69 kB / 1.389 GB, free: 4.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/0.4823, allocations: 0.6928 MB / 1.389 GB, free: 3.371 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.4823, allocations: 31.7 kB / 1.389 GB, free: 3.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.4825, allocations: 117.7 kB / 1.389 GB, free: 3.219 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4827, allocations: 337.9 kB / 1.39 GB, free: 2.883 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/0.4835, allocations: 0.6996 MB / 1.39 GB, free: 2.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4846, allocations: 0.9256 MB / 1.391 GB, free: 1.199 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4863, allocations: 1.449 MB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.4863, allocations: 4 kB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002369/0.4886, allocations: 1.679 MB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.4887, allocations: 14.34 kB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4887, allocations: 0 / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4887, allocations: 0 / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4889, allocations: 47.95 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.489, allocations: 3.938 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.4897, allocations: 107.3 kB / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.4897, allocations: 19.98 kB / 1.394 GB, free: 13.86 MB / 1.092 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.0007787/0.4905, allocations: 497.5 kB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.4907, allocations: 178.8 kB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4917, allocations: 0.6978 MB / 1.396 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4917, allocations: 4 kB / 1.396 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4918, allocations: 11.88 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4918, allocations: 3.938 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.493, allocations: 0.8772 MB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.493, allocations: 0 / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4931, allocations: 23.98 kB / 1.397 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4931, allocations: 7.984 kB / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4932, allocations: 4 kB / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4932, allocations: 0 / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4932, allocations: 7.938 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009496/0.4941, allocations: 0.7814 MB / 1.398 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.4946, allocations: 198.7 kB / 1.398 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4947, allocations: 8 kB / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.495, allocations: 19.97 kB / 1.398 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.4951, allocations: 15.92 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4951, allocations: 8.375 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002488/0.4976, allocations: 1.61 MB / 1.399 GB, free: 8.816 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4976, allocations: 3.938 kB / 1.399 GB, free: 8.812 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007949/0.4984, allocations: 219.8 kB / 1.4 GB, free: 8.598 MB / 1.092 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.00168/0.5001, allocations: 1.406 MB / 1.401 GB, free: 7.164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.5015, allocations: 0.9689 MB / 1.402 GB, free: 6.195 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5015, allocations: 0 / 1.402 GB, free: 6.195 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.5019, allocations: 251.9 kB / 1.402 GB, free: 5.949 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/0.5066, allocations: 1.212 MB / 1.403 GB, free: 4.742 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.5343, allocations: 17.83 MB / 1.421 GB, free: 2.652 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.5356, allocations: 0.7752 MB / 1.421 GB, free: 1.848 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001189/0.5368, allocations: 273.7 kB / 1.422 GB, free: 1.574 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008896/0.5377, allocations: 0.5696 MB / 1.422 GB, free: 1.004 MB / 1.107 GB Notification: Performance of SimCode: time 1.513e-06/0.5377, allocations: 0 / 1.422 GB, free: 1.004 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.6602, allocations: 56.34 MB / 1.477 GB, free: 9.637 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.44, allocations: 5.5 kB / 1.477 GB, free: 9.633 MB / 1.17 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 840.0] 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: 21.699904921930283]