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.001695/0.001695, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001841/0.001841, allocations: 165.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.052/3.052, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.846e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006104/0.006142, allocations: 2.178 MB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.008517, allocations: 0.8773 MB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.008718, allocations: 0 / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.009624, allocations: 175.2 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.009926, allocations: 77.09 kB / 0.8141 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.01054, allocations: 119.7 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.01103, allocations: 232.1 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.01128, allocations: 58.05 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.01156, allocations: 123.6 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.01174, allocations: 72.52 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.0118, allocations: 20 kB / 0.8147 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.01228, allocations: 140.4 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.01259, allocations: 220.1 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.01284, allocations: 135.5 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.01424, allocations: 0.7095 MB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01424, allocations: 0 / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.264e-06/0.01425, allocations: 4 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.01427, allocations: 0 / 0.8158 GB, free: 12.99 MB / 0.7761 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.002722/0.017, allocations: 0.9202 MB / 0.8167 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.01705, allocations: 8.031 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.018, allocations: 135.7 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.0195, allocations: 0.5331 MB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.01953, allocations: 8.375 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.01957, allocations: 13.56 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.02018, allocations: 194.7 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.0202, allocations: 8.703 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.02024, allocations: 4.375 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.02025, allocations: 9.188 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.02096, allocations: 230.1 kB / 0.8178 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.023, allocations: 0.7886 MB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.02405, allocations: 310.3 kB / 0.8189 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.0244, allocations: 106.4 kB / 0.819 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.0254, allocations: 157.3 kB / 0.8191 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.02544, allocations: 30.56 kB / 0.8192 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.02545, allocations: 0 / 0.8192 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.001314/0.02676, allocations: 415.9 kB / 0.8196 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.02682, allocations: 55.34 kB / 0.8196 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.02924, allocations: 0.9983 MB / 0.8206 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.02928, allocations: 29.7 kB / 0.8206 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.02983, allocations: 349.3 kB / 0.821 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.02989, allocations: 27.75 kB / 0.821 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.02998, allocations: 29.66 kB / 0.821 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002516/0.03024, allocations: 311.1 kB / 0.8213 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.03057, allocations: 96.98 kB / 0.8214 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.03093, allocations: 119.5 kB / 0.8215 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.03161, allocations: 218 kB / 0.8217 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.03162, allocations: 4 kB / 0.8217 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001031/0.03265, allocations: 319.4 kB / 0.822 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.03268, allocations: 8 kB / 0.822 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.0327, allocations: 4.438 kB / 0.822 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.03273, allocations: 8 kB / 0.8221 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.03301, allocations: 27.97 kB / 0.8221 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.03302, allocations: 3.938 kB / 0.8221 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.03333, allocations: 19.89 kB / 0.8221 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.03336, allocations: 7.984 kB / 0.8221 GB, free: 6.391 MB / 0.7761 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.0004638/0.03382, allocations: 241.8 kB / 0.8223 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.03402, allocations: 79.48 kB / 0.8224 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009538/0.03497, allocations: 340.5 kB / 0.8227 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.03498, allocations: 7.938 kB / 0.8228 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.03499, allocations: 0 / 0.8228 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.03499, allocations: 0 / 0.8228 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.03578, allocations: 417 kB / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03578, allocations: 0 / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.036, allocations: 23.92 kB / 0.8232 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.03601, allocations: 3.984 kB / 0.8232 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.03603, allocations: 8 kB / 0.8232 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.03603, allocations: 4 kB / 0.8232 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.03604, allocations: 3.938 kB / 0.8232 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.037, allocations: 402.9 kB / 0.8236 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.03734, allocations: 107.4 kB / 0.8237 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.03743, allocations: 3.984 kB / 0.8237 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.03772, allocations: 8 kB / 0.8237 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.0378, allocations: 15.92 kB / 0.8237 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.03782, allocations: 7.984 kB / 0.8237 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001645/0.03946, allocations: 0.7176 MB / 0.8244 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03946, allocations: 0 / 0.8244 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006897/0.04015, allocations: 71.89 kB / 0.8245 GB, free: 3.906 MB / 0.7761 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.0002998/0.04045, allocations: 107.2 kB / 0.8246 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007204/0.04117, allocations: 215.8 kB / 0.8248 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.04118, allocations: 0 / 0.8248 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.04152, allocations: 107.9 kB / 0.8249 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.04226, allocations: 61.2 kB / 0.8249 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.04543, allocations: 1.186 MB / 0.8261 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.04616, allocations: 346.4 kB / 0.8264 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003546/0.04652, allocations: 81.33 kB / 0.8265 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.04669, allocations: 32.5 kB / 0.8265 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.04669, allocations: 0 / 0.8265 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of Templates: time 0.01538/0.06207, allocations: 4.566 MB / 0.831 GB, free: 13.19 MB / 0.7917 GB " [Timeout remaining time 300] 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: 8.774056758033112]