Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001327/0.001327, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001446/0.001446, allocations: 216 kB / 23.01 MB, free: 4.609 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.055 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 3.143/3.143, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [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.002047/0.002047, allocations: 70.45 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003911/0.3618, allocations: 2.302 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3634, allocations: 0.9711 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3635, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.3641, allocations: 194.8 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.3642, allocations: 67.5 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.3646, allocations: 123.7 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3649, allocations: 219.2 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3651, allocations: 65.97 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3652, allocations: 95.45 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3654, allocations: 95.44 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.3654, allocations: 16 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.3657, allocations: 155.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.3659, allocations: 223.2 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.3662, allocations: 266 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.367, allocations: 0.727 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.367, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.367, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.367, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00131/0.3683, allocations: 0.9187 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3684, allocations: 12.03 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.369, allocations: 128.3 kB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.3698, allocations: 0.5377 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3699, allocations: 12.38 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3699, allocations: 12.38 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3703, allocations: 198.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3703, allocations: 192 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3704, allocations: 11.92 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3704, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.3708, allocations: 219.9 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3722, allocations: 0.8934 MB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.3729, allocations: 306.5 kB / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.3731, allocations: 108.9 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.3738, allocations: 163.8 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3739, allocations: 30.56 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.3739, allocations: 4 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008633/0.3747, allocations: 405 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3748, allocations: 55.41 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3761, allocations: 0.9974 MB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3761, allocations: 25.7 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.3764, allocations: 344.1 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.3765, allocations: 39.67 kB / 1.338 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.3765, allocations: 29.7 kB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3767, allocations: 306.4 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3769, allocations: 99.95 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.3771, allocations: 122.5 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.3775, allocations: 222.4 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3775, allocations: 0 / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000595/0.3781, allocations: 332.9 kB / 1.339 GB, free: 5.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3782, allocations: 4 kB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3782, allocations: 0 / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3782, allocations: 4 kB / 1.339 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3784, allocations: 23.97 kB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3784, allocations: 4 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3786, allocations: 8 kB / 1.339 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3786, allocations: 8.047 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002793/0.3788, allocations: 250.2 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.379, allocations: 83.36 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006449/0.3796, allocations: 328.5 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3796, allocations: 0 / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3796, allocations: 0 / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3796, allocations: 3.938 kB / 1.34 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.3802, allocations: 0.5002 MB / 1.34 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3802, allocations: 7.938 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3804, allocations: 23.97 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3804, allocations: 0 / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3804, allocations: 8 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3804, allocations: 192 / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3804, allocations: 0 / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.381, allocations: 410.8 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.3812, allocations: 115.4 kB / 1.341 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.3813, allocations: 0 / 1.341 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3815, allocations: 4 kB / 1.341 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3815, allocations: 11.98 kB / 1.341 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3815, allocations: 0 / 1.341 GB, free: 3.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009452/0.3825, allocations: 0.7215 MB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 0 / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003713/0.3828, allocations: 67.94 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0002041/0.383, allocations: 115.2 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.3835, allocations: 215.9 kB / 1.342 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3835, allocations: 0 / 1.342 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3838, allocations: 103.9 kB / 1.342 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3842, allocations: 56.81 kB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3861, allocations: 1.236 MB / 1.343 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.3868, allocations: 0.9489 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3869, allocations: 31.91 kB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.3869, allocations: 3.938 kB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Templates: time 0.01223/0.3992, allocations: 7.258 MB / 1.351 GB, free: 8.598 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: 11.581633010995574]