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.001508/0.001508, 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.001584/0.001584, allocations: 218.4 kB / 22.26 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.023 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 3.048/3.048, allocations: 476.7 MB / 0.7707 GB, free: 4.234 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.002075/0.002075, allocations: 65.86 kB / 1.117 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 170 MB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004112/0.3539, allocations: 2.501 MB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.3548, allocations: 0.5393 MB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.3549, allocations: 8 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3552, allocations: 123.4 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.3554, allocations: 91.28 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.3555, allocations: 47.89 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3558, allocations: 250.7 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.356, allocations: 67.62 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3562, allocations: 95.64 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3563, allocations: 99.56 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.3564, allocations: 16 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.059e-05/0.3564, allocations: 20 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3565, allocations: 79.64 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.3567, allocations: 155 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.3571, allocations: 346.7 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3571, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3571, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3571, allocations: 0 / 1.288 GB, free: 7.02 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.0008963/0.358, allocations: 0.5896 MB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3581, allocations: 12.03 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.3581, allocations: 46.73 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.3582, allocations: 44.66 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.3586, allocations: 248.7 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3586, allocations: 12.38 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.3586, allocations: 12.38 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.359, allocations: 155.4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.359, allocations: 3.938 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.359, allocations: 8 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.359, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3592, allocations: 95.95 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.3602, allocations: 0.5419 MB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.3605, allocations: 86.66 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3606, allocations: 44.83 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3606, allocations: 7.922 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3606, allocations: 34.56 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 3.626e-06/0.3606, allocations: 4 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003716/0.361, allocations: 145.4 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.361, allocations: 51.41 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.3615, allocations: 393.9 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3615, allocations: 29.7 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3617, allocations: 216.2 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.3617, allocations: 39.62 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.3618, allocations: 25.72 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3619, allocations: 354.7 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.362, allocations: 27.98 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3621, allocations: 55.67 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3623, allocations: 95.3 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3623, allocations: 4 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002688/0.3626, allocations: 145.3 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3626, allocations: 4 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3626, allocations: 4 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3626, allocations: 0 / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3627, allocations: 31.92 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3628, allocations: 4.094 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.3628, allocations: 11.95 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3628, allocations: 7.938 kB / 1.291 GB, free: 3.262 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.0001719/0.363, allocations: 165.8 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.3631, allocations: 35.77 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.3631, allocations: 35.22 kB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3631, allocations: 7.938 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3631, allocations: 0 / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3631, allocations: 3.984 kB / 1.291 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.3635, allocations: 276.6 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3635, allocations: 0 / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3636, allocations: 27.92 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3636, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3636, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3636, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3636, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.364, allocations: 267.2 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.3641, allocations: 43.72 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3641, allocations: 0 / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.3642, allocations: 0 / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3643, allocations: 11.98 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3643, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002963/0.3646, allocations: 283.1 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002785/0.3649, allocations: 47.89 kB / 1.292 GB, free: 2.016 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.0007162/0.3656, allocations: 0.7865 MB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.3658, allocations: 71.91 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3658, allocations: 0 / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.3659, allocations: 40.17 kB / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3663, allocations: 22.11 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3699, allocations: 2.724 MB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.3704, allocations: 0.7981 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.266e-05/0.3704, allocations: 12.66 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3706, allocations: 103.4 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3706, allocations: 0 / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.4109, allocations: 5.104 MB / 1.302 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.3, allocations: 3.984 kB / 1.302 GB, free: 8.367 MB / 0.9981 GB " [Timeout remaining time 288] (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.248620439087972]