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.001634/0.001634, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.001811/0.001811, allocations: 216.2 kB / 22.99 MB, free: 4.988 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.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.002093/0.002093, allocations: 69.69 kB / 1.155 GB, free: 25.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3572, allocations: 176.1 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003904/0.3611, allocations: 2.191 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3627, allocations: 0.8699 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.3628, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.3634, allocations: 174.9 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3635, allocations: 71.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.364, allocations: 115.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.3643, allocations: 227 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3645, allocations: 65.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3646, allocations: 87.58 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3647, allocations: 103.4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.3648, allocations: 16 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.3651, allocations: 159.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.3653, allocations: 211.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.3654, allocations: 194.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.3662, allocations: 0.7387 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3663, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3663, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3663, allocations: 0 / 1.332 GB, free: 11.66 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.001383/0.3676, allocations: 0.9226 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3677, allocations: 12.03 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.3683, allocations: 124.3 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.3691, allocations: 0.5378 MB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3692, allocations: 16.38 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3692, allocations: 12.31 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.3696, allocations: 202.1 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3696, allocations: 192 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3696, allocations: 7.938 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3697, allocations: 4 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.3701, allocations: 223.9 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3714, allocations: 0.7926 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.3721, allocations: 310.4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.3724, allocations: 105 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.3731, allocations: 159.9 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3731, allocations: 34.5 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3731, allocations: 0 / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009499/0.3741, allocations: 409 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3741, allocations: 51.41 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3755, allocations: 0.9974 MB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3755, allocations: 29.69 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.3759, allocations: 348 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.376, allocations: 35.69 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.376, allocations: 26.09 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3762, allocations: 314 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3764, allocations: 95.95 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3767, allocations: 118.5 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.3771, allocations: 222.4 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3771, allocations: 0 / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006303/0.3777, allocations: 325 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3778, allocations: 7.938 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3778, allocations: 0 / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3778, allocations: 4 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.378, allocations: 23.92 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.378, allocations: 7.984 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3782, allocations: 8 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3782, allocations: 4.062 kB / 1.338 GB, free: 5.039 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.0003078/0.3785, allocations: 250.3 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3786, allocations: 79.42 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.3793, allocations: 328.4 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3793, allocations: 3.984 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3793, allocations: 4 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3793, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.3799, allocations: 428.9 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3799, allocations: 0 / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.38, allocations: 23.98 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.38, allocations: 0 / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.38, allocations: 16.06 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.38, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3801, allocations: 7.922 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.3807, allocations: 403 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.381, allocations: 111.4 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.381, allocations: 7.938 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3812, allocations: 7.984 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3812, allocations: 7.984 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3813, allocations: 0 / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009017/0.3822, allocations: 0.7215 MB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003714/0.3825, allocations: 67.92 kB / 1.341 GB, free: 2.547 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.0002256/0.3828, allocations: 111.2 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.3833, allocations: 211.8 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3833, allocations: 0 / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.3835, allocations: 108 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3839, allocations: 51.3 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3858, allocations: 1.182 MB / 1.342 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3863, allocations: 338.6 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.3865, allocations: 85.31 kB / 1.343 GB, free: 428 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3866, allocations: 35.44 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3866, allocations: 3.938 kB / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of Templates: time 0.01226/0.3989, allocations: 5.168 MB / 1.348 GB, free: 11.23 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 -s gbode -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: 9.210069348002435]