Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001311/0.001311, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001482/0.001482, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.002787/0.002787, allocations: 70.28 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3455, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004261/0.3498, allocations: 2.357 MB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3511, allocations: 0.5042 MB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3513, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.3518, allocations: 111.5 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.352, allocations: 91.28 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.3522, allocations: 47.88 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.3526, allocations: 242.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.3528, allocations: 79.61 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3529, allocations: 87.66 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3531, allocations: 99.5 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.3532, allocations: 20 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.3532, allocations: 20 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3534, allocations: 83.62 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3535, allocations: 119.2 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.354, allocations: 347.5 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.354, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.126e-06/0.354, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.3541, allocations: 4 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009736/0.355, allocations: 0.5896 MB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3551, allocations: 8.031 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.3551, allocations: 8.188 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3551, allocations: 46.73 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.3552, allocations: 44.66 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3556, allocations: 248.7 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3556, allocations: 20.12 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.3557, allocations: 12.38 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.356, allocations: 141.9 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.356, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.356, allocations: 4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.356, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.3563, allocations: 93.52 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.3572, allocations: 0.5225 MB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.3574, allocations: 82.59 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3575, allocations: 44.83 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3576, allocations: 4 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3576, allocations: 38.5 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3576, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003727/0.358, allocations: 145.6 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.358, allocations: 55.41 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.3584, allocations: 393.9 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3585, allocations: 33.8 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3587, allocations: 216.1 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3587, allocations: 35.69 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3588, allocations: 29.7 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3589, allocations: 350.8 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.359, allocations: 23.98 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3591, allocations: 59.41 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3593, allocations: 95.3 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3593, allocations: 0 / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002645/0.3596, allocations: 141.4 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3596, allocations: 8 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3596, allocations: 0 / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3596, allocations: 0 / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3597, allocations: 35.92 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3597, allocations: 8.094 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.3598, allocations: 7.891 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3598, allocations: 4 kB / 1.292 GB, free: 2.719 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001678/0.36, allocations: 161.8 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3601, allocations: 35.77 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.3601, allocations: 43.2 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3601, allocations: 0 / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3601, allocations: 3.938 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3601, allocations: 3.938 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.3605, allocations: 268.6 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3605, allocations: 4 kB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3606, allocations: 19.98 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3606, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3606, allocations: 96 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3606, allocations: 7.938 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3606, allocations: 0 / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.361, allocations: 259.2 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3611, allocations: 35.73 kB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.3611, allocations: 3.984 kB / 1.292 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3612, allocations: 12.06 kB / 1.292 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3613, allocations: 3.984 kB / 1.292 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3613, allocations: 7.938 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003009/0.3616, allocations: 279.1 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3616, allocations: 0 / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002785/0.3619, allocations: 39.89 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.0007204/0.3626, allocations: 0.7981 MB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3628, allocations: 68.17 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3628, allocations: 0 / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.3629, allocations: 36.3 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3633, allocations: 37.64 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3667, allocations: 2.708 MB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.367, allocations: 202.9 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.367, allocations: 8.641 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3672, allocations: 107.4 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.3672, allocations: 4 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3953, allocations: 5.202 MB / 1.302 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.97, allocations: 5.938 kB / 1.302 GB, free: 8.367 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.724747769068927]