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.002006/0.002006, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002394/0.002394, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.773 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.876/2.876, allocations: 476 MB / 0.7699 GB, free: 4.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.002136/0.002136, allocations: 70 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3051, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004075/0.3091, allocations: 2.357 MB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.3101, allocations: 0.4965 MB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.3102, allocations: 8 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3106, allocations: 119.5 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.3108, allocations: 91.28 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.3109, allocations: 43.89 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.3112, allocations: 238.7 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.3114, allocations: 79.55 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3116, allocations: 83.66 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3117, allocations: 87.56 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.3118, allocations: 23.98 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.056e-05/0.3118, allocations: 23.94 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.312, allocations: 79.69 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3121, allocations: 119.2 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.3125, allocations: 339.8 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3125, allocations: 4 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3126, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3126, allocations: 3.984 kB / 1.287 GB, free: 8.156 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.0009607/0.3135, allocations: 0.5896 MB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3136, allocations: 11.97 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.98e-05/0.3136, allocations: 50.73 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3137, allocations: 44.66 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3141, allocations: 248.7 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3142, allocations: 8.375 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3142, allocations: 16.38 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3145, allocations: 147.4 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3145, allocations: 7.938 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3145, allocations: 7.984 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3145, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.3148, allocations: 91.95 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.3157, allocations: 0.5108 MB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3159, allocations: 86.58 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.316, allocations: 52.84 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.316, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3161, allocations: 38.5 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.3161, allocations: 0 / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003954/0.3165, allocations: 145.4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3165, allocations: 51.41 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.317, allocations: 389.9 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.317, allocations: 33.7 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3172, allocations: 216.1 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.3172, allocations: 39.67 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.3173, allocations: 29.72 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3175, allocations: 354.7 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.3176, allocations: 23.98 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3177, allocations: 55.42 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3179, allocations: 87.36 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3179, allocations: 0 / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002755/0.3182, allocations: 153.7 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3182, allocations: 4 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3182, allocations: 4 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3182, allocations: 4 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3183, allocations: 28.02 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3183, allocations: 7.875 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.3184, allocations: 7.953 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3184, allocations: 7.938 kB / 1.29 GB, free: 4.43 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.0001835/0.3186, allocations: 169.9 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.3187, allocations: 35.77 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.3187, allocations: 35.22 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3187, allocations: 4 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3187, allocations: 0 / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3187, allocations: 3.984 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.3191, allocations: 272.5 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3191, allocations: 0 / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.3192, allocations: 19.94 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3192, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3192, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3192, allocations: 4 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3192, allocations: 7.984 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.3196, allocations: 255.2 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.3197, allocations: 35.75 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3197, allocations: 0 / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3198, allocations: 8 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3199, allocations: 3.984 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3199, allocations: 4 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000313/0.3202, allocations: 283.1 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3202, allocations: 8.062 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002838/0.3205, allocations: 39.89 kB / 1.291 GB, free: 3.199 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.0007376/0.3212, allocations: 0.7943 MB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3214, allocations: 71.84 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3214, allocations: 0 / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.3215, allocations: 31.98 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3219, allocations: 27.8 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3253, allocations: 2.72 MB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.3255, allocations: 195.6 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.369e-05/0.3256, allocations: 24.56 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3258, allocations: 95.41 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3258, allocations: 0 / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.3614, allocations: 5.477 MB / 1.3 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.86, allocations: 6.125 kB / 1.3 GB, free: 9.797 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: 18.511141601018608]