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.002011/0.002011, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002963/0.002963, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.565/1.565, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.731/2.731, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.002147/0.002147, allocations: 63.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3973, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004412/0.4017, allocations: 2.173 MB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4036, allocations: 0.8699 MB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.4038, allocations: 0 / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.4044, allocations: 175 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.4046, allocations: 71.44 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.405, allocations: 115.7 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.4053, allocations: 223 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4055, allocations: 65.94 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.4057, allocations: 95.52 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4058, allocations: 91.42 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.4058, allocations: 20 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.4062, allocations: 143.8 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.4064, allocations: 215.3 kB / 1.122 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.4066, allocations: 186.6 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007984/0.4074, allocations: 0.7426 MB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4074, allocations: 0 / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4074, allocations: 0 / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.4074, allocations: 0 / 1.123 GB, free: 13.35 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.001591/0.409, allocations: 0.9226 MB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.409, allocations: 15.97 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.4098, allocations: 128.3 kB / 1.124 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.4109, allocations: 0.5455 MB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.411, allocations: 8.375 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.411, allocations: 12.38 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.4116, allocations: 198.9 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4116, allocations: 192 / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4116, allocations: 11.88 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4116, allocations: 4 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.4123, allocations: 231.9 kB / 1.125 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4139, allocations: 0.7732 MB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.4149, allocations: 314.5 kB / 1.126 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.4152, allocations: 100.8 kB / 1.126 GB, free: 9.992 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/0.4162, allocations: 155.9 kB / 1.126 GB, free: 9.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4162, allocations: 34.5 kB / 1.126 GB, free: 9.797 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.4162, allocations: 8 kB / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001193/0.4174, allocations: 405 kB / 1.126 GB, free: 9.387 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.4175, allocations: 51.41 kB / 1.126 GB, free: 9.324 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.4193, allocations: 1.002 MB / 1.127 GB, free: 8.312 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.4194, allocations: 25.7 kB / 1.127 GB, free: 8.281 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.4198, allocations: 348.1 kB / 1.128 GB, free: 7.934 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.4199, allocations: 31.7 kB / 1.128 GB, free: 7.902 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.42, allocations: 29.64 kB / 1.128 GB, free: 7.867 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4201, allocations: 310 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.4204, allocations: 99.94 kB / 1.128 GB, free: 7.461 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.4208, allocations: 126.4 kB / 1.128 GB, free: 7.328 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.4214, allocations: 214.5 kB / 1.128 GB, free: 7.109 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4214, allocations: 4 kB / 1.128 GB, free: 7.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007953/0.4222, allocations: 321 kB / 1.129 GB, free: 6.785 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4222, allocations: 11.92 kB / 1.129 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4222, allocations: 0 / 1.129 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4222, allocations: 4 kB / 1.129 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.4225, allocations: 24.05 kB / 1.129 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4225, allocations: 4 kB / 1.129 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.4227, allocations: 11.98 kB / 1.129 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4227, allocations: 4 kB / 1.129 GB, free: 6.727 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.0004045/0.4231, allocations: 245.7 kB / 1.129 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4233, allocations: 83.41 kB / 1.129 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/0.4242, allocations: 332.4 kB / 1.129 GB, free: 6.059 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4242, allocations: 4 kB / 1.129 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4242, allocations: 4 kB / 1.129 GB, free: 6.051 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4242, allocations: 0 / 1.129 GB, free: 6.051 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.4249, allocations: 425.2 kB / 1.13 GB, free: 5.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4249, allocations: 0 / 1.13 GB, free: 5.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.4252, allocations: 31.91 kB / 1.13 GB, free: 5.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4252, allocations: 0 / 1.13 GB, free: 5.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.4252, allocations: 7.938 kB / 1.13 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4252, allocations: 0 / 1.13 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4252, allocations: 0 / 1.13 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.426, allocations: 414.9 kB / 1.13 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.4263, allocations: 107.4 kB / 1.13 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.4264, allocations: 7.938 kB / 1.13 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.4266, allocations: 4 kB / 1.13 GB, free: 5.027 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.4267, allocations: 7.984 kB / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4267, allocations: 4 kB / 1.13 GB, free: 5.016 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001407/0.4281, allocations: 0.7254 MB / 1.131 GB, free: 4.297 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4281, allocations: 3.938 kB / 1.131 GB, free: 4.293 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005609/0.4287, allocations: 63.94 kB / 1.131 GB, free: 4.23 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.0002531/0.4289, allocations: 115.1 kB / 1.131 GB, free: 4.109 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.4296, allocations: 212 kB / 1.131 GB, free: 3.902 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4296, allocations: 0 / 1.131 GB, free: 3.902 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.4299, allocations: 107.9 kB / 1.132 GB, free: 3.797 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.4306, allocations: 50.59 kB / 1.132 GB, free: 3.746 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4331, allocations: 1.193 MB / 1.133 GB, free: 2.527 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.4337, allocations: 345.4 kB / 1.133 GB, free: 2.168 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.434, allocations: 77.28 kB / 1.133 GB, free: 2.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.4341, allocations: 36.48 kB / 1.133 GB, free: 2.051 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4341, allocations: 0 / 1.133 GB, free: 2.051 MB / 1.076 GB Notification: Performance of Templates: time 0.7244/1.159, allocations: 4.514 MB / 1.138 GB, free: 57.73 MB / 1.076 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 -s ida -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/jenkins1/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: 9.717024671961553]