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.001471/0.001471, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001804/0.001804, allocations: 156.5 kB / 23.01 MB, free: 4.605 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.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.875/2.875, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.00245/0.00245, allocations: 59.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.201, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003535/1.204, allocations: 2.182 MB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001396/1.206, allocations: 0.8751 MB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/1.206, allocations: 2.562 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/1.206, allocations: 168.6 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/1.207, allocations: 72.25 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/1.207, allocations: 113.8 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/1.207, allocations: 226.8 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/1.207, allocations: 66.38 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/1.207, allocations: 83.44 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/1.208, allocations: 90.56 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/1.208, allocations: 21.84 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/1.208, allocations: 144.8 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/1.208, allocations: 219 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/1.208, allocations: 190.8 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/1.209, allocations: 0.7343 MB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.209, allocations: 0 / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/1.209, allocations: 0 / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.209, allocations: 0 / 1.159 GB, free: 30.3 MB / 1.076 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.001104/1.21, allocations: 0.9342 MB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.21, allocations: 9.031 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/1.211, allocations: 120.6 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/1.211, allocations: 0.5428 MB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.211, allocations: 10.09 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/1.211, allocations: 10.12 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.212, allocations: 194.8 kB / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.212, allocations: 192 / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.212, allocations: 7.938 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.212, allocations: 6.875 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/1.212, allocations: 235.9 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/1.213, allocations: 0.7754 MB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/1.214, allocations: 312.7 kB / 1.162 GB, free: 28.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/1.214, allocations: 109.5 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/1.215, allocations: 162.3 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/1.215, allocations: 38.5 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/1.215, allocations: 0 / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0008115/1.216, allocations: 409.8 kB / 1.163 GB, free: 28.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.216, allocations: 51.41 kB / 1.163 GB, free: 28.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.217, allocations: 1.004 MB / 1.164 GB, free: 27.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.217, allocations: 25.7 kB / 1.164 GB, free: 27.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/1.217, allocations: 342.4 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/1.217, allocations: 33.98 kB / 1.164 GB, free: 27.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/1.217, allocations: 29.73 kB / 1.164 GB, free: 27.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/1.217, allocations: 309 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.217, allocations: 95.06 kB / 1.165 GB, free: 27.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/1.218, allocations: 123.8 kB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/1.218, allocations: 220 kB / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.218, allocations: 0 / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005253/1.219, allocations: 321.4 kB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.219, allocations: 9.469 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.219, allocations: 0 / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.219, allocations: 3.188 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.219, allocations: 25.97 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.219, allocations: 7.031 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/1.219, allocations: 12.48 kB / 1.165 GB, free: 26.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.219, allocations: 2.625 kB / 1.165 GB, free: 26.83 MB / 1.076 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.0002037/1.219, allocations: 250.9 kB / 1.165 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/1.219, allocations: 77.42 kB / 1.166 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/1.22, allocations: 333.1 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.22, allocations: 0 / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.22, allocations: 7.938 kB / 1.166 GB, free: 26.49 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.22, allocations: 0 / 1.166 GB, free: 26.49 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/1.22, allocations: 427.6 kB / 1.166 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/1.22, allocations: 0 / 1.166 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/1.22, allocations: 19.17 kB / 1.166 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.22, allocations: 0 / 1.166 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.22, allocations: 10.56 kB / 1.166 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.22, allocations: 0 / 1.166 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.22, allocations: 7.469 kB / 1.166 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/1.221, allocations: 405.6 kB / 1.167 GB, free: 26.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/1.221, allocations: 112.9 kB / 1.167 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/1.221, allocations: 3.938 kB / 1.167 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.221, allocations: 9.266 kB / 1.167 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/1.221, allocations: 6.25 kB / 1.167 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/1.221, allocations: 8 kB / 1.167 GB, free: 25.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008505/1.222, allocations: 0.7202 MB / 1.168 GB, free: 25.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.222, allocations: 0 / 1.168 GB, free: 25.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004026/1.223, allocations: 72.28 kB / 1.168 GB, free: 25.66 MB / 1.076 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.0002135/1.223, allocations: 109.8 kB / 1.168 GB, free: 25.56 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004728/1.223, allocations: 216.5 kB / 1.168 GB, free: 25.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.223, allocations: 384 / 1.168 GB, free: 25.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/1.224, allocations: 110.7 kB / 1.168 GB, free: 25.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/1.224, allocations: 49.06 kB / 1.168 GB, free: 25.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.226, allocations: 1.18 MB / 1.169 GB, free: 24.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/1.227, allocations: 345 kB / 1.17 GB, free: 24.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002548/1.227, allocations: 79.55 kB / 1.17 GB, free: 24.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.227, allocations: 36.41 kB / 1.17 GB, free: 24.69 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/1.227, allocations: 0 / 1.17 GB, free: 24.69 MB / 1.076 GB Notification: Performance of Templates: time 0.01349/1.24, allocations: 4.535 MB / 1.174 GB, free: 24.12 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.928943006903864]