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.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.001831/0.001831, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.002397/0.002397, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.599/1.599, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.914/2.914, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.003073/0.003073, allocations: 71.88 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9957, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003729/0.9995, allocations: 2.184 MB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001673/1.001, allocations: 0.8687 MB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/1.001, allocations: 2.344 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/1.002, allocations: 172.2 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/1.002, allocations: 67.83 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/1.003, allocations: 114.1 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/1.003, allocations: 232.7 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/1.003, allocations: 58.41 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/1.003, allocations: 88.53 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/1.004, allocations: 94.45 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/1.004, allocations: 17.62 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/1.004, allocations: 140.9 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/1.004, allocations: 218.4 kB / 1.191 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/1.004, allocations: 188.1 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009686/1.005, allocations: 0.7304 MB / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.005, allocations: 0 / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.005, allocations: 1.188 kB / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.333e-05/1.005, allocations: 4 kB / 1.192 GB, free: 13.16 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.001733/1.007, allocations: 0.9216 MB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.007, allocations: 9.469 kB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/1.008, allocations: 123.1 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/1.009, allocations: 0.5447 MB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.009, allocations: 8.781 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.009, allocations: 12.59 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/1.009, allocations: 194 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.009, allocations: 4.125 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/1.009, allocations: 9.094 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.009, allocations: 3.188 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/1.01, allocations: 225.5 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.011, allocations: 0.7864 MB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/1.012, allocations: 310.6 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/1.012, allocations: 102 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/1.013, allocations: 163.3 kB / 1.195 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/1.013, allocations: 39.75 kB / 1.195 GB, free: 11.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/1.013, allocations: 3.938 kB / 1.195 GB, free: 11.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0009613/1.014, allocations: 401.2 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/1.014, allocations: 57.88 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.016, allocations: 0.9996 MB / 1.196 GB, free: 10.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.016, allocations: 30.41 kB / 1.196 GB, free: 10.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.016, allocations: 345.8 kB / 1.197 GB, free: 10.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/1.016, allocations: 33.89 kB / 1.197 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/1.016, allocations: 25.34 kB / 1.197 GB, free: 10.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.615e-05/1.016, allocations: 313.3 kB / 1.197 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/1.016, allocations: 95.36 kB / 1.197 GB, free: 9.992 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/1.016, allocations: 124.1 kB / 1.197 GB, free: 9.938 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/1.017, allocations: 215.2 kB / 1.198 GB, free: 9.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.017, allocations: 4 kB / 1.198 GB, free: 9.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005874/1.017, allocations: 321.8 kB / 1.198 GB, free: 9.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.018, allocations: 9.281 kB / 1.198 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.018, allocations: 1.156 kB / 1.198 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.018, allocations: 5.984 kB / 1.198 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.018, allocations: 26.97 kB / 1.198 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.018, allocations: 6.781 kB / 1.198 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.018, allocations: 11.16 kB / 1.198 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.018, allocations: 7.875 kB / 1.198 GB, free: 9.699 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.0002467/1.018, allocations: 248.5 kB / 1.198 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.018, allocations: 80.06 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/1.019, allocations: 335.5 kB / 1.199 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.019, allocations: 1.594 kB / 1.199 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.019, allocations: 1.125 kB / 1.199 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.019, allocations: 0.6094 kB / 1.199 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/1.019, allocations: 431.2 kB / 1.199 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.019, allocations: 0 / 1.199 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/1.02, allocations: 20.22 kB / 1.199 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.02, allocations: 1.125 kB / 1.199 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.02, allocations: 6.203 kB / 1.199 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.02, allocations: 1.156 kB / 1.199 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.02, allocations: 4 kB / 1.199 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/1.02, allocations: 407.8 kB / 1.199 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/1.02, allocations: 104.1 kB / 1.199 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/1.021, allocations: 6.328 kB / 1.199 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/1.021, allocations: 13.55 kB / 1.2 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.021, allocations: 6.484 kB / 1.2 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/1.021, allocations: 3.438 kB / 1.2 GB, free: 8.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009811/1.022, allocations: 0.7168 MB / 1.2 GB, free: 8.543 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 1.2 GB, free: 8.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004163/1.022, allocations: 71.41 kB / 1.2 GB, free: 8.531 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.0001631/1.022, allocations: 108.9 kB / 1.2 GB, free: 8.434 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004877/1.023, allocations: 216.9 kB / 1.201 GB, free: 8.375 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.023, allocations: 1.281 kB / 1.201 GB, free: 8.375 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.023, allocations: 106.2 kB / 1.201 GB, free: 8.348 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.023, allocations: 52.62 kB / 1.201 GB, free: 8.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/1.025, allocations: 1.187 MB / 1.202 GB, free: 7.711 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.026, allocations: 349.7 kB / 1.202 GB, free: 7.582 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002083/1.026, allocations: 82.72 kB / 1.202 GB, free: 7.562 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/1.026, allocations: 36.98 kB / 1.202 GB, free: 7.551 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.026, allocations: 0 / 1.202 GB, free: 7.551 MB / 1.076 GB Notification: Performance of Templates: time 0.01149/1.037, allocations: 4.5 MB / 1.207 GB, free: 6.992 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 800] 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/jenkins1/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.068423154996708]