Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 191.5 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 251 MB, free: 13 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.876/2.876, allocations: 476.7 MB / 0.7646 GB, free: 9.883 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 59.89 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003972/1.183, allocations: 2.271 MB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00169/1.185, allocations: 0.9477 MB / 1.278 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/1.185, allocations: 4 kB / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/1.185, allocations: 202.7 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/1.186, allocations: 71.5 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/1.186, allocations: 115.7 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/1.186, allocations: 219.1 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/1.186, allocations: 65.98 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/1.187, allocations: 87.53 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/1.187, allocations: 107.4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/1.187, allocations: 16 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/1.187, allocations: 171.7 kB / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/1.187, allocations: 211.3 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/1.188, allocations: 266 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008199/1.188, allocations: 0.7295 MB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.188, allocations: 0 / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/1.188, allocations: 0 / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.188, allocations: 0 / 1.28 GB, free: 14.74 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001366/1.19, allocations: 0.9304 MB / 1.281 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.19, allocations: 12.03 kB / 1.281 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/1.19, allocations: 124.3 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/1.191, allocations: 0.5417 MB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.191, allocations: 8.375 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/1.191, allocations: 16.38 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/1.192, allocations: 190.2 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.192, allocations: 192 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.192, allocations: 11.94 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.192, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/1.192, allocations: 231.9 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/1.193, allocations: 0.8896 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/1.194, allocations: 306.5 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.194, allocations: 96.95 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/1.195, allocations: 179.7 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.195, allocations: 34.56 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.195, allocations: 0 / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008321/1.196, allocations: 401 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.196, allocations: 55.39 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.197, allocations: 1.001 MB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/1.197, allocations: 25.7 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/1.198, allocations: 344.1 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/1.198, allocations: 27.73 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/1.198, allocations: 34.02 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.198, allocations: 314 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/1.198, allocations: 95.95 kB / 1.285 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/1.198, allocations: 122.5 kB / 1.285 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/1.199, allocations: 222.4 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.199, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005986/1.199, allocations: 332.9 kB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.199, allocations: 4 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.199, allocations: 4 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.199, allocations: 0 / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.2, allocations: 27.97 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.2, allocations: 4.062 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/1.2, allocations: 7.953 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/1.2, allocations: 4 kB / 1.286 GB, free: 8 MB / 0.9825 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.0002931/1.2, allocations: 257.6 kB / 1.286 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.2, allocations: 79.42 kB / 1.286 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/1.201, allocations: 324.5 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.201, allocations: 8 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.201, allocations: 3.938 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.201, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/1.201, allocations: 0.4964 MB / 1.287 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.201, allocations: 3.938 kB / 1.287 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/1.202, allocations: 19.98 kB / 1.287 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.202, allocations: 3.984 kB / 1.287 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.202, allocations: 192 / 1.287 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.202, allocations: 0 / 1.287 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.202, allocations: 7.875 kB / 1.287 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/1.202, allocations: 418.9 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/1.203, allocations: 103.4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/1.203, allocations: 3.984 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.203, allocations: 12 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/1.203, allocations: 7.984 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/1.203, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009699/1.204, allocations: 0.7215 MB / 1.288 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.204, allocations: 0 / 1.288 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000373/1.204, allocations: 75.83 kB / 1.289 GB, free: 5.402 MB / 0.9825 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/1.204, allocations: 99.25 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005064/1.205, allocations: 219.8 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.205, allocations: 0 / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/1.205, allocations: 103.9 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/1.206, allocations: 65.77 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/1.207, allocations: 1.173 MB / 1.29 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/1.208, allocations: 0.9412 MB / 1.291 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.208, allocations: 81.33 kB / 1.291 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/1.208, allocations: 35.42 kB / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.208, allocations: 0 / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.01133/1.22, allocations: 4.541 MB / 1.296 GB, free: 14.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.043999274261296]