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.001717/0.001717, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002074/0.002074, allocations: 212 kB / 20.13 MB, free: 2.949 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.024/3.024, allocations: 0.5003 GB / 0.8026 GB, free: 6.684 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",fmuType="cs",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.002158/0.002158, allocations: 73.3 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8584, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.003419/0.8618, allocations: 2.845 MB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.8643, allocations: 1.892 MB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.8645, allocations: 10.81 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.8663, allocations: 0.7494 MB / 1.346 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.8667, allocations: 212.5 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.867, allocations: 130.2 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008086/0.8751, allocations: 6.339 MB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.8752, allocations: 29.11 kB / 1.352 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.8754, allocations: 200.2 kB / 1.352 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.8756, allocations: 252.5 kB / 1.352 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.8757, allocations: 27.25 kB / 1.353 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.8762, allocations: 257.2 kB / 1.353 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.8767, allocations: 0.6521 MB / 1.353 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.8772, allocations: 0.679 MB / 1.354 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.8791, allocations: 1.936 MB / 1.356 GB, free: 9.324 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8792, allocations: 0.5625 kB / 1.356 GB, free: 9.324 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8792, allocations: 1.344 kB / 1.356 GB, free: 9.324 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.507e-05/0.8792, allocations: 0 / 1.356 GB, free: 9.324 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.002309/0.8815, allocations: 1.929 MB / 1.358 GB, free: 7.945 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.8815, allocations: 10.34 kB / 1.358 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.8815, allocations: 9.281 kB / 1.358 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.46e-05/0.8816, allocations: 38.75 kB / 1.358 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.8818, allocations: 174.8 kB / 1.358 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.8836, allocations: 1.523 MB / 1.36 GB, free: 6.887 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.8836, allocations: 8.219 kB / 1.36 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.8836, allocations: 12.38 kB / 1.36 GB, free: 6.879 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.884, allocations: 291.9 kB / 1.36 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.884, allocations: 0.6094 kB / 1.36 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.884, allocations: 5.312 kB / 1.36 GB, free: 6.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.884, allocations: 0.9062 kB / 1.36 GB, free: 6.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.8845, allocations: 495.5 kB / 1.36 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.8865, allocations: 1.55 MB / 1.362 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.8869, allocations: 491.8 kB / 1.362 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.8872, allocations: 246.8 kB / 1.363 GB, free: 5.738 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.8872, allocations: 27.05 kB / 1.363 GB, free: 5.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.8873, allocations: 36.55 kB / 1.363 GB, free: 5.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.484e-06/0.8873, allocations: 3.984 kB / 1.363 GB, free: 5.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001091/0.8883, allocations: 0.9144 MB / 1.364 GB, free: 5.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.8884, allocations: 56.44 kB / 1.364 GB, free: 5.309 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.8911, allocations: 2.293 MB / 1.366 GB, free: 4.469 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.8911, allocations: 31.39 kB / 1.366 GB, free: 4.434 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.8916, allocations: 0.6899 MB / 1.367 GB, free: 3.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.8916, allocations: 31.66 kB / 1.367 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.8917, allocations: 125.9 kB / 1.367 GB, free: 3.809 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.8918, allocations: 335.3 kB / 1.367 GB, free: 3.492 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.8924, allocations: 0.6936 MB / 1.368 GB, free: 3.301 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.8932, allocations: 0.7709 MB / 1.368 GB, free: 3.043 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.8944, allocations: 1.452 MB / 1.37 GB, free: 2.598 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8944, allocations: 0 / 1.37 GB, free: 2.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00181/0.8963, allocations: 1.679 MB / 1.371 GB, free: 2.055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8963, allocations: 6.266 kB / 1.371 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8963, allocations: 5.344 kB / 1.371 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8963, allocations: 1.469 kB / 1.371 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.8965, allocations: 47.19 kB / 1.372 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8965, allocations: 7.016 kB / 1.372 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/0.8973, allocations: 109.9 kB / 1.372 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.8973, allocations: 17.19 kB / 1.372 GB, free: 1.984 MB / 1.061 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.0006368/0.898, allocations: 498 kB / 1.372 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.8981, allocations: 171.1 kB / 1.372 GB, free: 1.621 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.899, allocations: 0.7188 MB / 1.373 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.899, allocations: 1.922 kB / 1.373 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.899, allocations: 4.969 kB / 1.373 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.899, allocations: 0.7969 kB / 1.373 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.9002, allocations: 0.9848 MB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9002, allocations: 0.7969 kB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.9004, allocations: 25.84 kB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9004, allocations: 1.438 kB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.9004, allocations: 3.656 kB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9004, allocations: 0 / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9004, allocations: 9.312 kB / 1.374 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.9011, allocations: 0.7962 MB / 1.375 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.9014, allocations: 271.1 kB / 1.375 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.9016, allocations: 4 kB / 1.375 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.9019, allocations: 22.17 kB / 1.375 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.902, allocations: 13.3 kB / 1.375 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.902, allocations: 6.359 kB / 1.375 GB, free: 324 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002222/0.9042, allocations: 1.615 MB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9042, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00079/0.905, allocations: 218.8 kB / 1.377 GB, free: 15.7 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.001466/0.9064, allocations: 1.4 MB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.9077, allocations: 0.973 MB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9077, allocations: 0 / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.908, allocations: 259.2 kB / 1.379 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/0.9127, allocations: 1.218 MB / 1.381 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/0.9391, allocations: 17.84 MB / 1.398 GB, free: 7.012 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.9406, allocations: 1.366 MB / 1.399 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001303/0.9419, allocations: 269.7 kB / 1.4 GB, free: 6.086 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008444/0.9427, allocations: 0.5841 MB / 1.4 GB, free: 5.625 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/0.9427, allocations: 0 / 1.4 GB, free: 5.625 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09492/1.038, allocations: 51.31 MB / 1.45 GB, free: 8.023 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.76, allocations: 15.53 kB / 1.45 GB, free: 8.008 MB / 1.123 GB " [Timeout remaining time 287] (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: 19.389381735003553]