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.001464/0.001464, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001594/0.001594, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.91/2.91, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.002039/0.002039, allocations: 71.88 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9945/0.9965, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003055/0.9996, allocations: 2.284 MB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001144/1.001, allocations: 0.9633 MB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/1.001, allocations: 2.812 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004631/1.001, allocations: 199 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/1.001, allocations: 66.16 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/1.002, allocations: 113.8 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/1.002, allocations: 220.3 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/1.002, allocations: 75.2 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/1.002, allocations: 84.42 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/1.002, allocations: 102.5 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/1.002, allocations: 20.16 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/1.002, allocations: 153.7 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/1.003, allocations: 213.9 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/1.003, allocations: 268.2 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006425/1.003, allocations: 0.7227 MB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.003, allocations: 4 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.664e-06/1.003, allocations: 0 / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.003, allocations: 1.625 kB / 1.327 GB, free: 21.65 MB / 1.061 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.001138/1.005, allocations: 0.9981 MB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.005, allocations: 13.17 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/1.005, allocations: 126 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/1.006, allocations: 0.5989 MB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.006, allocations: 13.91 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/1.006, allocations: 11.66 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/1.006, allocations: 193.7 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.006, allocations: 192 / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.006, allocations: 9.406 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/1.006, allocations: 3.312 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/1.007, allocations: 234.6 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.008, allocations: 0.9166 MB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/1.009, allocations: 307.2 kB / 1.331 GB, free: 19.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/1.009, allocations: 105.1 kB / 1.331 GB, free: 19.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/1.01, allocations: 240.2 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/1.01, allocations: 36 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/1.01, allocations: 0 / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0009008/1.011, allocations: 409.5 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/1.011, allocations: 53.23 kB / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.012, allocations: 0.9959 MB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.012, allocations: 25.7 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/1.012, allocations: 345.8 kB / 1.333 GB, free: 18.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/1.013, allocations: 33.84 kB / 1.333 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/1.013, allocations: 29.22 kB / 1.333 GB, free: 18.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.013, allocations: 312.4 kB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/1.013, allocations: 96.09 kB / 1.333 GB, free: 18.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/1.013, allocations: 119.8 kB / 1.333 GB, free: 18.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/1.014, allocations: 221.6 kB / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.014, allocations: 0 / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007313/1.014, allocations: 326.1 kB / 1.334 GB, free: 17.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.014, allocations: 9.562 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.014, allocations: 0.5625 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.014, allocations: 1.625 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.015, allocations: 27.95 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.015, allocations: 1.688 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.015, allocations: 16.31 kB / 1.334 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.015, allocations: 3.984 kB / 1.334 GB, free: 17.83 MB / 1.061 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.0002833/1.015, allocations: 243.9 kB / 1.334 GB, free: 17.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/1.015, allocations: 79.73 kB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007381/1.016, allocations: 335.6 kB / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.016, allocations: 1.891 kB / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.016, allocations: 0 / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.016, allocations: 0.8438 kB / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/1.017, allocations: 0.5292 MB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.017, allocations: 3.938 kB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.017, allocations: 25.41 kB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.017, allocations: 0.6562 kB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.017, allocations: 5.984 kB / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.017, allocations: 5.375 kB / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.017, allocations: 0 / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/1.017, allocations: 406.2 kB / 1.335 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/1.017, allocations: 186.1 kB / 1.336 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/1.018, allocations: 17.72 kB / 1.336 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/1.018, allocations: 6.156 kB / 1.336 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/1.018, allocations: 6.203 kB / 1.336 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.018, allocations: 3.141 kB / 1.336 GB, free: 16.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008397/1.019, allocations: 0.7204 MB / 1.336 GB, free: 16.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.019, allocations: 0 / 1.336 GB, free: 16.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003886/1.019, allocations: 65.2 kB / 1.336 GB, free: 16.48 MB / 1.061 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.0001839/1.019, allocations: 118.2 kB / 1.337 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005078/1.02, allocations: 209.7 kB / 1.337 GB, free: 16.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.02, allocations: 4 kB / 1.337 GB, free: 16.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/1.02, allocations: 110.2 kB / 1.337 GB, free: 16.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/1.02, allocations: 52.7 kB / 1.337 GB, free: 16.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.022, allocations: 1.248 MB / 1.338 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/1.023, allocations: 0.9433 MB / 1.339 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.023, allocations: 37.73 kB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of SimCode: time 4.7e-07/1.023, allocations: 1.188 kB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of Templates: time 0.01425/1.037, allocations: 7.243 MB / 1.346 GB, free: 13.46 MB / 1.061 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 -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: 12.016693955010851]