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.001636/0.001636, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002054/0.002054, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8 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.283/3.283, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002104/0.002104, allocations: 71.28 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.00484/0.3564, allocations: 2.868 MB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.3599, allocations: 1.884 MB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.3602, allocations: 11.94 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.3624, allocations: 0.7422 MB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.363, allocations: 214.6 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3634, allocations: 131.8 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.3738, allocations: 6.604 MB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.374, allocations: 29.28 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.3743, allocations: 207 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.3748, allocations: 258.8 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.87e-05/0.3748, allocations: 28 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.3754, allocations: 279.6 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006555/0.3761, allocations: 0.6349 MB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.377, allocations: 0.6794 MB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.3795, allocations: 1.937 MB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3795, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3795, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.475e-05/0.3795, allocations: 0 / 1.369 GB, free: 7.918 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.003558/0.3831, allocations: 1.863 MB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3831, allocations: 8.031 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.3832, allocations: 38.75 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.3835, allocations: 175.7 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.3862, allocations: 1.455 MB / 1.372 GB, free: 4.266 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3862, allocations: 11.94 kB / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3863, allocations: 8 kB / 1.372 GB, free: 4.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.3867, allocations: 301.4 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3867, allocations: 0 / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3867, allocations: 0 / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3867, allocations: 0 / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.3874, allocations: 499.8 kB / 1.373 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.3901, allocations: 1.516 MB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.3907, allocations: 494.3 kB / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.391, allocations: 244.8 kB / 1.375 GB, free: 1.156 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.211e-05/0.3911, allocations: 31.95 kB / 1.375 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.3911, allocations: 38.56 kB / 1.375 GB, free: 1.078 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3911, allocations: 8 kB / 1.375 GB, free: 1.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001354/0.3925, allocations: 0.9068 MB / 1.376 GB, free: 160 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3925, allocations: 55.41 kB / 1.376 GB, free: 92 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.3961, allocations: 2.293 MB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.3962, allocations: 33.64 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.3969, allocations: 0.6928 MB / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.397, allocations: 27.75 kB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.3971, allocations: 125.6 kB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3973, allocations: 334 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/0.3981, allocations: 0.6996 MB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008764/0.399, allocations: 0.7712 MB / 1.381 GB, free: 11.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4006, allocations: 1.456 MB / 1.383 GB, free: 9.578 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4006, allocations: 0 / 1.383 GB, free: 9.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002249/0.4029, allocations: 1.675 MB / 1.384 GB, free: 7.891 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4029, allocations: 8 kB / 1.384 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4029, allocations: 3.984 kB / 1.384 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4029, allocations: 4 kB / 1.384 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4032, allocations: 39.97 kB / 1.384 GB, free: 7.836 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4032, allocations: 7.875 kB / 1.384 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.4039, allocations: 113 kB / 1.384 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.404, allocations: 16 kB / 1.385 GB, free: 7.703 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.0007652/0.4047, allocations: 0.4977 MB / 1.385 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4051, allocations: 170.8 kB / 1.385 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.4063, allocations: 0.7095 MB / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4063, allocations: 4 kB / 1.386 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4063, allocations: 3.938 kB / 1.386 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4063, allocations: 0 / 1.386 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.4079, allocations: 0.9474 MB / 1.387 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4079, allocations: 3.938 kB / 1.387 GB, free: 5.305 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.4081, allocations: 31.97 kB / 1.387 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4081, allocations: 0 / 1.387 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4081, allocations: 4 kB / 1.387 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4081, allocations: 4 kB / 1.387 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4081, allocations: 3.938 kB / 1.387 GB, free: 5.262 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.4091, allocations: 0.7892 MB / 1.388 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.4096, allocations: 198.7 kB / 1.388 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4098, allocations: 0 / 1.388 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4102, allocations: 23.97 kB / 1.388 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4102, allocations: 11.92 kB / 1.388 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4103, allocations: 12 kB / 1.388 GB, free: 4.211 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002594/0.4129, allocations: 1.614 MB / 1.389 GB, free: 2.578 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4129, allocations: 0 / 1.389 GB, free: 2.578 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007642/0.4136, allocations: 219.8 kB / 1.39 GB, free: 2.363 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.001661/0.4153, allocations: 1.402 MB / 1.391 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.4166, allocations: 0.977 MB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4166, allocations: 0 / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.4169, allocations: 255.8 kB / 1.392 GB, free: 15.71 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/0.4216, allocations: 1.217 MB / 1.393 GB, free: 14.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/0.4462, allocations: 17.84 MB / 1.411 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.4474, allocations: 1.368 MB / 1.412 GB, free: 11.01 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001012/0.4484, allocations: 277.7 kB / 1.412 GB, free: 10.73 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.4492, allocations: 0.5735 MB / 1.413 GB, free: 10.16 MB / 1.107 GB Notification: Performance of SimCode: time 1.092e-06/0.4492, allocations: 0 / 1.413 GB, free: 10.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.5607, allocations: 51.38 MB / 1.463 GB, free: 7.512 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.01, allocations: 3.984 kB / 1.463 GB, free: 7.508 MB / 1.154 GB " [Timeout remaining time 284] (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: 22.899373107822612]