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.00165/0.00165, allocations: 109.3 kB / 16.45 MB, free: 6.453 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.0019/0.0019, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.254/3.254, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002047/0.002047, allocations: 65.58 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 180.2 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004514/0.3431, allocations: 2.86 MB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3463, allocations: 1.877 MB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.3465, allocations: 4 kB / 1.352 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.3485, allocations: 0.7647 MB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.3489, allocations: 218.6 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3492, allocations: 135.8 kB / 1.353 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008701/0.3579, allocations: 6.333 MB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3581, allocations: 29.08 kB / 1.36 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3583, allocations: 207 kB / 1.36 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.3587, allocations: 254.8 kB / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.3588, allocations: 28 kB / 1.36 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.3592, allocations: 251.7 kB / 1.36 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005654/0.3598, allocations: 0.6466 MB / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.3605, allocations: 0.6755 MB / 1.362 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.3625, allocations: 1.937 MB / 1.364 GB, free: 9.664 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3625, allocations: 0 / 1.364 GB, free: 9.664 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3625, allocations: 0 / 1.364 GB, free: 9.664 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.3626, allocations: 0 / 1.364 GB, free: 9.664 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.003076/0.3657, allocations: 1.932 MB / 1.365 GB, free: 7.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3657, allocations: 11.98 kB / 1.365 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.3658, allocations: 42.75 kB / 1.366 GB, free: 7.609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.366, allocations: 171.7 kB / 1.366 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.3684, allocations: 1.515 MB / 1.367 GB, free: 5.859 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3684, allocations: 7.938 kB / 1.367 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3685, allocations: 19.92 kB / 1.367 GB, free: 5.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.3689, allocations: 293.5 kB / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3689, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3689, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3689, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.3695, allocations: 0.4958 MB / 1.368 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.3717, allocations: 1.544 MB / 1.369 GB, free: 3.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.3723, allocations: 494.3 kB / 1.37 GB, free: 2.949 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3726, allocations: 240.8 kB / 1.37 GB, free: 2.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.3727, allocations: 31.97 kB / 1.37 GB, free: 2.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3727, allocations: 38.55 kB / 1.37 GB, free: 2.633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3727, allocations: 0 / 1.37 GB, free: 2.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001207/0.3739, allocations: 0.9066 MB / 1.371 GB, free: 1.719 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.374, allocations: 55.78 kB / 1.371 GB, free: 1.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.377, allocations: 2.301 MB / 1.373 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.377, allocations: 29.7 kB / 1.373 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/0.3777, allocations: 0.685 MB / 1.374 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3778, allocations: 35.67 kB / 1.374 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.378, allocations: 125.6 kB / 1.374 GB, free: 14.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3781, allocations: 334 kB / 1.375 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.3789, allocations: 0.6957 MB / 1.375 GB, free: 13.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/0.3798, allocations: 0.7789 MB / 1.376 GB, free: 12.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3814, allocations: 1.449 MB / 1.377 GB, free: 11.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3814, allocations: 0 / 1.377 GB, free: 11.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002149/0.3836, allocations: 1.683 MB / 1.379 GB, free: 9.441 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3836, allocations: 4 kB / 1.379 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3836, allocations: 0 / 1.379 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.3836, allocations: 4 kB / 1.379 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3839, allocations: 51.98 kB / 1.379 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3839, allocations: 3.938 kB / 1.379 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.3845, allocations: 108.5 kB / 1.379 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.3846, allocations: 19.98 kB / 1.379 GB, free: 9.254 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.0007045/0.3853, allocations: 0.4936 MB / 1.38 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.3855, allocations: 170.8 kB / 1.38 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3865, allocations: 0.7095 MB / 1.381 GB, free: 7.863 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3865, allocations: 0 / 1.381 GB, free: 7.863 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3865, allocations: 3.938 kB / 1.381 GB, free: 7.859 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3865, allocations: 0 / 1.381 GB, free: 7.859 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3877, allocations: 0.9834 MB / 1.382 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3877, allocations: 0 / 1.382 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3878, allocations: 35.98 kB / 1.382 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3878, allocations: 0 / 1.382 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3878, allocations: 0 / 1.382 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3878, allocations: 7.984 kB / 1.382 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3878, allocations: 3.938 kB / 1.382 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.3888, allocations: 0.7892 MB / 1.382 GB, free: 5.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.3891, allocations: 279.8 kB / 1.383 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3892, allocations: 8 kB / 1.383 GB, free: 5.664 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.3896, allocations: 27.97 kB / 1.383 GB, free: 5.637 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3896, allocations: 7.938 kB / 1.383 GB, free: 5.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3896, allocations: 11.98 kB / 1.383 GB, free: 5.617 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002236/0.3919, allocations: 1.61 MB / 1.384 GB, free: 3.988 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3919, allocations: 0 / 1.384 GB, free: 3.988 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006813/0.3926, allocations: 211.9 kB / 1.384 GB, free: 3.781 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.001507/0.3941, allocations: 1.402 MB / 1.386 GB, free: 2.352 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3953, allocations: 0.9689 MB / 1.387 GB, free: 1.383 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3953, allocations: 192 / 1.387 GB, free: 1.383 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.3957, allocations: 267.8 kB / 1.387 GB, free: 1.121 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/0.3999, allocations: 1.211 MB / 1.388 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/0.4227, allocations: 17.84 MB / 1.406 GB, free: 13.82 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.4239, allocations: 1.372 MB / 1.407 GB, free: 12.42 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009379/0.4249, allocations: 269.7 kB / 1.407 GB, free: 12.15 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/0.4256, allocations: 0.5696 MB / 1.408 GB, free: 11.58 MB / 1.107 GB Notification: Performance of SimCode: time 7.92e-07/0.4256, allocations: 4 kB / 1.408 GB, free: 11.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/0.5251, allocations: 51.27 MB / 1.458 GB, free: 9.082 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.54, allocations: 11.2 kB / 1.458 GB, free: 9.074 MB / 1.154 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.48174712085165]