Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001294/0.001294, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001308/0.001308, allocations: 186 kB / 20.78 MB, free: 1.547 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.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 496.2 MB / 0.7819 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.91 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003037/1.127, allocations: 2.282 MB / 1.308 GB, free: 31.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001157/1.128, allocations: 0.9538 MB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/1.128, allocations: 2.938 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/1.129, allocations: 201 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/1.129, allocations: 68.14 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/1.129, allocations: 114.5 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/1.129, allocations: 222.9 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/1.13, allocations: 67.91 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/1.13, allocations: 87.58 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/1.13, allocations: 97.12 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/1.13, allocations: 16.06 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/1.13, allocations: 160.8 kB / 1.31 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/1.13, allocations: 219.1 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/1.13, allocations: 263.9 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/1.131, allocations: 0.7219 MB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.131, allocations: 0 / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/1.131, allocations: 3.938 kB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.131, allocations: 0 / 1.311 GB, free: 30.12 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.001001/1.132, allocations: 1.007 MB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.132, allocations: 11.47 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/1.132, allocations: 125 kB / 1.312 GB, free: 29.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/1.133, allocations: 0.5886 MB / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.133, allocations: 10.16 kB / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/1.133, allocations: 13 kB / 1.312 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/1.133, allocations: 200.9 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.133, allocations: 192 / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.133, allocations: 10.66 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.133, allocations: 2.844 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/1.134, allocations: 226.7 kB / 1.313 GB, free: 28.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/1.135, allocations: 0.9152 MB / 1.314 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/1.135, allocations: 311.9 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/1.136, allocations: 102 kB / 1.314 GB, free: 28.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/1.136, allocations: 244 kB / 1.314 GB, free: 27.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/1.136, allocations: 34.5 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/1.136, allocations: 2.906 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0007053/1.137, allocations: 407.2 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/1.137, allocations: 55.41 kB / 1.315 GB, free: 27.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/1.138, allocations: 0.9926 MB / 1.316 GB, free: 27.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.138, allocations: 29.7 kB / 1.316 GB, free: 27.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.138, allocations: 352.5 kB / 1.316 GB, free: 26.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/1.138, allocations: 32.23 kB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/1.138, allocations: 24.78 kB / 1.316 GB, free: 26.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/1.138, allocations: 316.6 kB / 1.317 GB, free: 26.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.138, allocations: 98.81 kB / 1.317 GB, free: 26.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/1.139, allocations: 121.9 kB / 1.317 GB, free: 26.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/1.139, allocations: 219.6 kB / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.139, allocations: 0 / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004487/1.139, allocations: 331.6 kB / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.139, allocations: 3.094 kB / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.139, allocations: 3.031 kB / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.139, allocations: 0 / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.139, allocations: 26.78 kB / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.14, allocations: 0 / 1.317 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/1.14, allocations: 17.14 kB / 1.317 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/1.14, allocations: 7.5 kB / 1.317 GB, free: 26.3 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.0001868/1.14, allocations: 246.9 kB / 1.318 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/1.14, allocations: 81.08 kB / 1.318 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/1.14, allocations: 340.4 kB / 1.318 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/1.14, allocations: 0 / 1.318 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.14, allocations: 4 kB / 1.318 GB, free: 25.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.14, allocations: 3.094 kB / 1.318 GB, free: 25.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/1.141, allocations: 0.5229 MB / 1.319 GB, free: 25.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.141, allocations: 3.938 kB / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.141, allocations: 23.03 kB / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.141, allocations: 0 / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.141, allocations: 0 / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.141, allocations: 2.781 kB / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.141, allocations: 0 / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/1.142, allocations: 414.2 kB / 1.319 GB, free: 25.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.142, allocations: 187.8 kB / 1.319 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/1.142, allocations: 4 kB / 1.319 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.142, allocations: 12.56 kB / 1.319 GB, free: 25.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/1.142, allocations: 5.781 kB / 1.319 GB, free: 25.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/1.142, allocations: 2.594 kB / 1.319 GB, free: 25.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007036/1.143, allocations: 0.7186 MB / 1.32 GB, free: 24.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.143, allocations: 0 / 1.32 GB, free: 24.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000345/1.143, allocations: 68.27 kB / 1.32 GB, free: 24.95 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.0001833/1.143, allocations: 118.2 kB / 1.32 GB, free: 24.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004333/1.144, allocations: 218.1 kB / 1.32 GB, free: 24.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.144, allocations: 0 / 1.32 GB, free: 24.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/1.144, allocations: 102.6 kB / 1.32 GB, free: 24.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/1.144, allocations: 64.3 kB / 1.32 GB, free: 24.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/1.146, allocations: 1.185 MB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/1.146, allocations: 0.9383 MB / 1.322 GB, free: 23.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001694/1.146, allocations: 80.66 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/1.146, allocations: 30.69 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.146, allocations: 0 / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of Templates: time 0.01174/1.158, allocations: 4.517 MB / 1.327 GB, free: 22.99 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.55305387917906]