Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.00199/0.00199, 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.002929/0.002929, allocations: 213.7 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.805 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.954/2.954, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [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.002256/0.002256, allocations: 67.3 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4817, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005083/0.4868, allocations: 2.563 MB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.4891, allocations: 1.014 MB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.4893, allocations: 4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.49, allocations: 194.6 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4903, allocations: 95.25 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.4909, allocations: 179.7 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.4914, allocations: 407.7 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.4918, allocations: 150.3 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.492, allocations: 155.2 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.4923, allocations: 159 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.4923, allocations: 40 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.4927, allocations: 171.8 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.493, allocations: 259.2 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.4933, allocations: 262.2 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.4947, allocations: 0.9837 MB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4947, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4947, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.4947, allocations: 0 / 1.289 GB, free: 5.285 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002463/0.4972, allocations: 1.079 MB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.4972, allocations: 12.03 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.4987, allocations: 248 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5006, allocations: 0.671 MB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.5006, allocations: 25.03 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.5007, allocations: 36.31 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5018, allocations: 408 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.5018, allocations: 0 / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.5018, allocations: 12 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.5018, allocations: 8 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.5029, allocations: 418.4 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.5065, allocations: 1.417 MB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.5073, allocations: 198.6 kB / 1.294 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.5076, allocations: 88.81 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.5076, allocations: 11.98 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5077, allocations: 38.55 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.5077, allocations: 0 / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.001228/0.5089, allocations: 382.5 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.509, allocations: 55.41 kB / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.5107, allocations: 1.222 MB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.5108, allocations: 29.7 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.5112, allocations: 432.2 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.5113, allocations: 67.73 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.5114, allocations: 57.69 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5116, allocations: 318 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.512, allocations: 143.9 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.5124, allocations: 228.8 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.5131, allocations: 285 kB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5131, allocations: 0 / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001011/0.5141, allocations: 467.5 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5141, allocations: 4 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.5141, allocations: 4 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.5142, allocations: 3.938 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.5145, allocations: 68.05 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.5145, allocations: 4 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.5148, allocations: 27.81 kB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5148, allocations: 11.98 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003699/0.5152, allocations: 269.7 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5153, allocations: 91.39 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.5163, allocations: 323.8 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5163, allocations: 4 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5163, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5163, allocations: 4 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.5181, allocations: 0.8526 MB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5181, allocations: 0 / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.5184, allocations: 47.91 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5184, allocations: 8.188 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5184, allocations: 11.98 kB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5184, allocations: 4 kB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5184, allocations: 0 / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.5193, allocations: 439.9 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.5196, allocations: 127.4 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.5197, allocations: 8 kB / 1.3 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.5199, allocations: 15.98 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.52, allocations: 23.97 kB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.52, allocations: 7.938 kB / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001248/0.5213, allocations: 0.8864 MB / 1.301 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5213, allocations: 0 / 1.301 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004697/0.5217, allocations: 111.7 kB / 1.301 GB, free: 9.316 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002794/0.522, allocations: 115.1 kB / 1.301 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.5228, allocations: 267.7 kB / 1.301 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5228, allocations: 0 / 1.301 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.5232, allocations: 112.2 kB / 1.301 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.5237, allocations: 59.33 kB / 1.301 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.5263, allocations: 1.395 MB / 1.303 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5269, allocations: 400.3 kB / 1.303 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.5272, allocations: 96.52 kB / 1.303 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.5273, allocations: 43.42 kB / 1.303 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/0.5273, allocations: 0 / 1.303 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of Templates: time 0.01503/0.5424, allocations: 6.229 MB / 1.309 GB, free: 0.5625 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 10.496572963893414]