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.0008626/0.0008626, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008564/0.0008564, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8937/0.8937, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.465e-05, allocations: 12.89 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.002619/0.002634, allocations: 2.652 MB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.004427, allocations: 1.759 MB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004534, allocations: 15.94 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.005726, allocations: 0.703 MB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.005933, allocations: 226.3 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.006086, allocations: 127.8 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005173/0.01126, allocations: 6.657 MB / 1.012 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.01137, allocations: 45.2 kB / 1.012 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.01158, allocations: 267.3 kB / 1.012 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.01173, allocations: 199.3 kB / 1.012 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.01177, allocations: 28 kB / 1.012 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.01206, allocations: 259.6 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.0124, allocations: 0.6741 MB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.01263, allocations: 390.9 kB / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01375, allocations: 1.888 MB / 1.015 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01376, allocations: 4 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01376, allocations: 0 / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.01377, allocations: 4 kB / 1.015 GB, free: 13.55 MB / 0.9792 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.001485/0.01525, allocations: 1.839 MB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.01529, allocations: 9.344 kB / 1.017 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.01533, allocations: 38.73 kB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.01545, allocations: 167.8 kB / 1.017 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.0167, allocations: 1.466 MB / 1.019 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.01671, allocations: 4.375 kB / 1.019 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.01673, allocations: 20.11 kB / 1.019 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.01698, allocations: 293.5 kB / 1.019 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.01699, allocations: 0 / 1.019 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.017, allocations: 7.938 kB / 1.019 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.01701, allocations: 0 / 1.019 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.01735, allocations: 491.8 kB / 1.019 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01854, allocations: 1.431 MB / 1.021 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.0189, allocations: 486.4 kB / 1.021 GB, free: 7.156 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.01906, allocations: 252.8 kB / 1.022 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.0191, allocations: 23.98 kB / 1.022 GB, free: 6.883 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.01912, allocations: 38.69 kB / 1.022 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.01912, allocations: 0 / 1.022 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of matching and sorting (n=9): time 0.0006929/0.01982, allocations: 0.9144 MB / 1.022 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.01985, allocations: 55.41 kB / 1.023 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.0215, allocations: 2.285 MB / 1.025 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.02152, allocations: 33.8 kB / 1.025 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.02193, allocations: 0.7005 MB / 1.025 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.02195, allocations: 23.81 kB / 1.025 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.02205, allocations: 121.6 kB / 1.026 GB, free: 2.633 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.02212, allocations: 333.9 kB / 1.026 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.02256, allocations: 0.6957 MB / 1.027 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.02306, allocations: 0.9178 MB / 1.027 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.02396, allocations: 1.456 MB / 1.029 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02396, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00109/0.02505, allocations: 1.679 MB / 1.031 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.02507, allocations: 11.98 kB / 1.031 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.02508, allocations: 3.938 kB / 1.031 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.02509, allocations: 4.094 kB / 1.031 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.02522, allocations: 39.97 kB / 1.031 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.02522, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.0255, allocations: 113.5 kB / 1.031 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.02552, allocations: 28.03 kB / 1.031 GB, free: 13.27 MB / 0.9948 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.0003759/0.0259, allocations: 0.4897 MB / 1.031 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.026, allocations: 170.8 kB / 1.031 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.02661, allocations: 0.7212 MB / 1.032 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.02661, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.02662, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.02662, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.02728, allocations: 0.8733 MB / 1.033 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02728, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.02735, allocations: 35.92 kB / 1.033 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02735, allocations: 4 kB / 1.033 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.02736, allocations: 3.984 kB / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02737, allocations: 7.984 kB / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.02737, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.02786, allocations: 0.7891 MB / 1.034 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.02804, allocations: 198.7 kB / 1.034 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.02812, allocations: 8 kB / 1.034 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.0283, allocations: 19.97 kB / 1.034 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.02834, allocations: 15.98 kB / 1.034 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.02835, allocations: 8 kB / 1.034 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001304/0.02965, allocations: 1.61 MB / 1.036 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02965, allocations: 0 / 1.036 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003868/0.03004, allocations: 215.8 kB / 1.036 GB, free: 8.012 MB / 0.9948 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.0008513/0.03089, allocations: 1.418 MB / 1.037 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.03158, allocations: 0.9744 MB / 1.038 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03158, allocations: 0 / 1.038 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.03176, allocations: 255.8 kB / 1.038 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.03388, allocations: 1.202 MB / 1.04 GB, free: 4.141 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.04892, allocations: 17.94 MB / 1.057 GB, free: 1.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.04946, allocations: 0.7792 MB / 1.058 GB, free: 1.121 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005405/0.05001, allocations: 269.7 kB / 1.058 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.05043, allocations: 0.5784 MB / 1.059 GB, free: 280 kB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.05043, allocations: 0 / 1.059 GB, free: 280 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4575/0.508, allocations: 55.88 MB / 1.113 GB, free: 85.85 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/9.104, allocations: 12.66 kB / 1.113 GB, free: 85.85 MB / 1.01 GB " [Timeout remaining time 291] (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/jenkins/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: 13.240729209966958]