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.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.002561/0.002561, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002155/0.002155, allocations: 211.1 kB / 22.24 MB, free: 5.121 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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.051/3.051, allocations: 475.9 MB / 0.7699 GB, free: 4.746 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.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_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: 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.002205/0.002205, allocations: 67.8 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.487, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004427/0.4914, allocations: 2.174 MB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4931, allocations: 0.8738 MB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.4932, allocations: 4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.4939, allocations: 174.9 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.494, allocations: 67.5 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.4945, allocations: 119.7 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.4948, allocations: 231 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.495, allocations: 61.98 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4952, allocations: 87.53 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4953, allocations: 95.41 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.4954, allocations: 16 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.4957, allocations: 139.8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.496, allocations: 223.2 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.4962, allocations: 190.5 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008985/0.4971, allocations: 0.7387 MB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.4971, allocations: 8 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4971, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.4971, allocations: 0 / 1.288 GB, free: 6.746 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.001427/0.4985, allocations: 0.9167 MB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4986, allocations: 8.031 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.4991, allocations: 128.3 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.5, allocations: 0.5377 MB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5, allocations: 12.38 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.5, allocations: 16.38 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.5004, allocations: 195.3 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5005, allocations: 192 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.5005, allocations: 7.938 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5005, allocations: 8 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.501, allocations: 227.9 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.5022, allocations: 0.7887 MB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.503, allocations: 306.6 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.5032, allocations: 100.8 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.504, allocations: 163.9 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5041, allocations: 34.5 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5041, allocations: 0 / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008872/0.5049, allocations: 413 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.505, allocations: 55.34 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5063, allocations: 0.9974 MB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5063, allocations: 25.7 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.5066, allocations: 348.1 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.5067, allocations: 31.7 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.5067, allocations: 25.7 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5069, allocations: 310 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.5071, allocations: 103.9 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5073, allocations: 114.5 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.5078, allocations: 222.8 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5078, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005805/0.5084, allocations: 325 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5084, allocations: 7.938 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5084, allocations: 0 / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5084, allocations: 8.062 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5086, allocations: 23.92 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5086, allocations: 0 / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5088, allocations: 15.98 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5088, allocations: 7.938 kB / 1.294 GB, free: 136 kB / 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.0003051/0.5091, allocations: 245.7 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5092, allocations: 79.42 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.5098, allocations: 336.4 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5099, allocations: 0 / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5099, allocations: 0 / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5099, allocations: 4 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.5104, allocations: 432.9 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5104, allocations: 0 / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.5106, allocations: 23.92 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5106, allocations: 0 / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5106, allocations: 3.938 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.5106, allocations: 12 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5106, allocations: 0 / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.5112, allocations: 406.9 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.5115, allocations: 103.4 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.5116, allocations: 11.94 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.5118, allocations: 8.281 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.5118, allocations: 3.984 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5118, allocations: 7.984 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009847/0.5128, allocations: 0.7215 MB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5128, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003649/0.5132, allocations: 63.94 kB / 1.297 GB, free: 13.64 MB / 0.9981 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.0002318/0.5134, allocations: 115.2 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.5139, allocations: 215.8 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5139, allocations: 0 / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.5141, allocations: 103.9 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.5146, allocations: 49.88 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.5166, allocations: 1.189 MB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.517, allocations: 346.1 kB / 1.299 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.5172, allocations: 77.33 kB / 1.299 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.5173, allocations: 35.44 kB / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.5173, allocations: 0 / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.01259/0.5299, allocations: 5.13 MB / 1.304 GB, free: 6.363 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.779822511598468]