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.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.001739/0.001739, 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.002349/0.002349, allocations: 186 kB / 22.22 MB, free: 5.105 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.574/1.574, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 77.88 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4728, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004336/0.4772, allocations: 2.29 MB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.4789, allocations: 0.9555 MB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.4791, allocations: 4 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.4797, allocations: 194.8 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.4799, allocations: 71.44 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.4803, allocations: 111.7 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.4806, allocations: 231 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.4808, allocations: 69.91 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.4809, allocations: 83.59 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.481, allocations: 107.4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.4811, allocations: 16 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.4814, allocations: 163.8 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.4816, allocations: 211.3 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.4819, allocations: 266 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.4827, allocations: 0.727 MB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4827, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4827, allocations: 8 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.4828, allocations: 0 / 1.313 GB, free: 12.29 MB / 1.014 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.001499/0.4843, allocations: 0.9226 MB / 1.314 GB, free: 11.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4843, allocations: 8.922 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005862/0.4849, allocations: 124.3 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4859, allocations: 0.5416 MB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.4859, allocations: 8.375 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4859, allocations: 16.36 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.4864, allocations: 198.1 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4864, allocations: 192 / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4864, allocations: 15.94 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4864, allocations: 4 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.4869, allocations: 227.9 kB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.4882, allocations: 0.8818 MB / 1.316 GB, free: 9.238 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.4889, allocations: 310.4 kB / 1.316 GB, free: 8.926 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.4892, allocations: 105 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.4899, allocations: 163.8 kB / 1.316 GB, free: 8.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.49, allocations: 38.56 kB / 1.316 GB, free: 8.613 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.49, allocations: 0 / 1.316 GB, free: 8.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0009213/0.4909, allocations: 397 kB / 1.316 GB, free: 8.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.4909, allocations: 55.39 kB / 1.317 GB, free: 8.152 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4923, allocations: 1.002 MB / 1.318 GB, free: 7.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4924, allocations: 29.7 kB / 1.318 GB, free: 7.109 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.4928, allocations: 344.1 kB / 1.318 GB, free: 6.766 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4928, allocations: 31.73 kB / 1.318 GB, free: 6.734 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.4929, allocations: 29.66 kB / 1.318 GB, free: 6.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.493, allocations: 310 kB / 1.318 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4933, allocations: 99.89 kB / 1.318 GB, free: 6.293 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.4935, allocations: 126.5 kB / 1.318 GB, free: 6.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.4939, allocations: 218.4 kB / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4939, allocations: 4 kB / 1.319 GB, free: 5.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005787/0.4945, allocations: 325 kB / 1.319 GB, free: 5.609 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4945, allocations: 12.06 kB / 1.319 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4945, allocations: 0 / 1.319 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4946, allocations: 0 / 1.319 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4947, allocations: 27.92 kB / 1.319 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4948, allocations: 3.984 kB / 1.319 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4949, allocations: 11.95 kB / 1.319 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4949, allocations: 0 / 1.319 GB, free: 5.555 MB / 1.014 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.0003185/0.4952, allocations: 257.7 kB / 1.319 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4953, allocations: 83.42 kB / 1.319 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.496, allocations: 328.4 kB / 1.32 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.496, allocations: 0 / 1.32 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.496, allocations: 0 / 1.32 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.496, allocations: 0 / 1.32 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.4967, allocations: 0.5004 MB / 1.32 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4967, allocations: 3.938 kB / 1.32 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4968, allocations: 27.92 kB / 1.32 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4968, allocations: 0 / 1.32 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4969, allocations: 3.984 kB / 1.32 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4969, allocations: 4 kB / 1.32 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4969, allocations: 0 / 1.32 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.4975, allocations: 410.9 kB / 1.321 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.4978, allocations: 107.4 kB / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.4978, allocations: 3.984 kB / 1.321 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.498, allocations: 11.94 kB / 1.321 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.4981, allocations: 11.92 kB / 1.321 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4981, allocations: 4 kB / 1.321 GB, free: 3.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001072/0.4992, allocations: 0.7176 MB / 1.321 GB, free: 3.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4992, allocations: 4 kB / 1.321 GB, free: 3.027 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004135/0.4996, allocations: 71.89 kB / 1.321 GB, free: 2.957 MB / 1.014 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.0002857/0.4999, allocations: 108 kB / 1.322 GB, free: 2.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.5004, allocations: 212 kB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5004, allocations: 0 / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.5006, allocations: 115.9 kB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.5011, allocations: 48.34 kB / 1.322 GB, free: 2.477 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.5031, allocations: 1.185 MB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.5038, allocations: 0.9408 MB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.504, allocations: 81.27 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.5041, allocations: 35.42 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.5041, allocations: 0 / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of Templates: time 0.0123/0.5164, allocations: 4.523 MB / 1.329 GB, free: 11.66 MB / 1.029 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/jenkins/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: 10.141627761535347]