Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00186/0.00186, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001495/0.001495, allocations: 205 kB / 20.09 MB, free: 2.977 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.003244/0.003244, allocations: 67.91 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9702/0.9734, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003221/0.9767, allocations: 2.771 MB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.9781, allocations: 1.119 MB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.9783, allocations: 5.312 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.9788, allocations: 203.7 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.9789, allocations: 86.81 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.9793, allocations: 181.6 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.9796, allocations: 406.7 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.9799, allocations: 162.1 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.98, allocations: 155.5 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.9801, allocations: 181.5 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.9802, allocations: 39.66 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.9805, allocations: 174 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.9808, allocations: 265.7 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.981, allocations: 349 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.982, allocations: 0.9722 MB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.982, allocations: 0 / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.982, allocations: 4 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.982, allocations: 0.875 kB / 1.329 GB, free: 20.65 MB / 1.061 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.001676/0.9837, allocations: 1.159 MB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.9837, allocations: 13.48 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.9852, allocations: 240.8 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.9867, allocations: 0.7293 MB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.9867, allocations: 25.62 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.9868, allocations: 28.28 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.9877, allocations: 383.5 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.9877, allocations: 8.812 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.9878, allocations: 15.22 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.9878, allocations: 7.844 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.9889, allocations: 416.5 kB / 1.332 GB, free: 18.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.9925, allocations: 1.777 MB / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.9932, allocations: 215.9 kB / 1.334 GB, free: 17.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.9935, allocations: 96.06 kB / 1.334 GB, free: 17.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.9935, allocations: 9.156 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.9936, allocations: 37.8 kB / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.9936, allocations: 0 / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.00123/0.9948, allocations: 378.5 kB / 1.334 GB, free: 17.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.9948, allocations: 57.41 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.9968, allocations: 1.247 MB / 1.335 GB, free: 17.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.9968, allocations: 35.02 kB / 1.336 GB, free: 17.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.9971, allocations: 432.8 kB / 1.336 GB, free: 16.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.9972, allocations: 73.72 kB / 1.336 GB, free: 16.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.9973, allocations: 50.64 kB / 1.336 GB, free: 16.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.9974, allocations: 316.8 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.9977, allocations: 147.7 kB / 1.336 GB, free: 16.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.9981, allocations: 198.7 kB / 1.337 GB, free: 16.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.9988, allocations: 278.1 kB / 1.337 GB, free: 16.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9988, allocations: 1.312 kB / 1.337 GB, free: 16.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001033/0.9998, allocations: 469.4 kB / 1.337 GB, free: 15.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9998, allocations: 10.55 kB / 1.337 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9998, allocations: 1.094 kB / 1.337 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.9999, allocations: 7.453 kB / 1.337 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/1, allocations: 57.11 kB / 1.337 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1, allocations: 2.719 kB / 1.337 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/1.001, allocations: 33.03 kB / 1.337 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.001, allocations: 16.62 kB / 1.338 GB, free: 15.82 MB / 1.061 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.0003453/1.001, allocations: 272.2 kB / 1.338 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/1.001, allocations: 90.5 kB / 1.338 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/1.002, allocations: 328.2 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.002, allocations: 3 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.002, allocations: 0.7969 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.002, allocations: 0.7031 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/1.004, allocations: 0.9934 MB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.004, allocations: 1.578 kB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/1.004, allocations: 49.69 kB / 1.339 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/1.004, allocations: 1.75 kB / 1.339 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/1.004, allocations: 9.141 kB / 1.339 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.004, allocations: 7.438 kB / 1.339 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.004, allocations: 5.781 kB / 1.339 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/1.005, allocations: 443.1 kB / 1.34 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/1.005, allocations: 218.3 kB / 1.34 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/1.005, allocations: 8.312 kB / 1.34 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.005, allocations: 12.52 kB / 1.34 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/1.006, allocations: 26.44 kB / 1.34 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.006, allocations: 20.09 kB / 1.34 GB, free: 14.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001149/1.007, allocations: 0.9021 MB / 1.341 GB, free: 13.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 4 kB / 1.341 GB, free: 13.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000516/1.007, allocations: 99.08 kB / 1.341 GB, free: 13.95 MB / 1.061 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.0002142/1.007, allocations: 120.8 kB / 1.341 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000799/1.008, allocations: 271.4 kB / 1.341 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.008, allocations: 0 / 1.341 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/1.009, allocations: 107 kB / 1.341 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/1.009, allocations: 62.61 kB / 1.341 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/1.012, allocations: 1.457 MB / 1.343 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/1.012, allocations: 0.994 MB / 1.344 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/1.013, allocations: 47.42 kB / 1.344 GB, free: 12.15 MB / 1.061 GB Notification: Performance of SimCode: time 9.01e-07/1.013, allocations: 0 / 1.344 GB, free: 12.15 MB / 1.061 GB Notification: Performance of Templates: time 0.01925/1.032, allocations: 9.032 MB / 1.353 GB, free: 10.49 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.276520500003244]