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.001832/0.001832, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002649/0.002649, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.613/1.613, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.018/3.018, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 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 2.004e-06/2.004e-06, allocations: 0 / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.224e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.005529/0.005561, allocations: 2.181 MB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.007706, allocations: 0.8773 MB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.007832, allocations: 0 / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.008667, allocations: 174.9 kB / 0.9846 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.008892, allocations: 71.44 kB / 0.9847 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.009461, allocations: 127.5 kB / 0.9848 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.009886, allocations: 231 kB / 0.985 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.01009, allocations: 62.03 kB / 0.9851 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.01027, allocations: 131.6 kB / 0.9852 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.0104, allocations: 63.75 kB / 0.9853 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.01044, allocations: 16 kB / 0.9853 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.01077, allocations: 151.7 kB / 0.9854 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.011, allocations: 219.3 kB / 0.9856 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.01118, allocations: 131.5 kB / 0.9857 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.01212, allocations: 0.7122 MB / 0.9864 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01213, allocations: 0 / 0.9864 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.01213, allocations: 4 kB / 0.9864 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.01215, allocations: 0 / 0.9864 GB, free: 6.773 MB / 0.9356 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.001421/0.01357, allocations: 0.9187 MB / 0.9873 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.01361, allocations: 8.031 kB / 0.9874 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.01419, allocations: 128.3 kB / 0.9875 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.01505, allocations: 0.5409 MB / 0.988 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.01506, allocations: 8.375 kB / 0.988 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.01509, allocations: 12.38 kB / 0.988 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.01556, allocations: 186.2 kB / 0.9882 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01557, allocations: 192 / 0.9882 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.01559, allocations: 8.375 kB / 0.9882 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.0156, allocations: 8.375 kB / 0.9882 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.01612, allocations: 227.8 kB / 0.9884 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01734, allocations: 0.781 MB / 0.9892 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.0181, allocations: 314.5 kB / 0.9895 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.01833, allocations: 104.8 kB / 0.9896 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.01903, allocations: 159.9 kB / 0.9897 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.01906, allocations: 38.5 kB / 0.9898 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.01906, allocations: 0 / 0.9898 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0009312/0.01999, allocations: 413.2 kB / 0.9902 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.02006, allocations: 59.34 kB / 0.9902 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.02145, allocations: 0.9973 MB / 0.9912 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.02148, allocations: 25.8 kB / 0.9912 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.02184, allocations: 356 kB / 0.9916 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.02187, allocations: 27.75 kB / 0.9916 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.02193, allocations: 29.7 kB / 0.9916 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.02209, allocations: 310 kB / 0.9919 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.02234, allocations: 103.9 kB / 0.992 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.02259, allocations: 110.5 kB / 0.9921 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.02308, allocations: 226.4 kB / 0.9923 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.02308, allocations: 0 / 0.9923 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006119/0.02369, allocations: 313 kB / 0.9926 GB, free: 232 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.02372, allocations: 8 kB / 0.9926 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02372, allocations: 3.984 kB / 0.9927 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.02374, allocations: 4 kB / 0.9927 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.02391, allocations: 31.92 kB / 0.9927 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.02392, allocations: 0 / 0.9927 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.02409, allocations: 19.94 kB / 0.9927 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.0241, allocations: 0 / 0.9927 GB, free: 164 kB / 0.9356 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.0003062/0.02441, allocations: 245.8 kB / 0.9929 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.02451, allocations: 75.48 kB / 0.993 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.02522, allocations: 332.5 kB / 0.9933 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.02522, allocations: 3.938 kB / 0.9933 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02523, allocations: 192 / 0.9933 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02523, allocations: 0 / 0.9933 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.02579, allocations: 432.9 kB / 0.9937 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.02579, allocations: 0 / 0.9937 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.02595, allocations: 23.97 kB / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.02595, allocations: 3.938 kB / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.02596, allocations: 0 / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02597, allocations: 0 / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.02597, allocations: 7.938 kB / 0.9938 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.02662, allocations: 410.9 kB / 0.9942 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.02684, allocations: 107.4 kB / 0.9943 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.0269, allocations: 4 kB / 0.9943 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.02708, allocations: 4 kB / 0.9943 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.02713, allocations: 15.92 kB / 0.9943 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.02714, allocations: 8 kB / 0.9943 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000969/0.02811, allocations: 0.7215 MB / 0.995 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02811, allocations: 0 / 0.995 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003691/0.02848, allocations: 67.89 kB / 0.9951 GB, free: 13.67 MB / 0.9512 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.0002088/0.02869, allocations: 115.1 kB / 0.9952 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.02922, allocations: 215.8 kB / 0.9954 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02922, allocations: 0 / 0.9954 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.02946, allocations: 107.9 kB / 0.9955 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.02988, allocations: 47.78 kB / 0.9955 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.03173, allocations: 1.155 MB / 0.9967 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.03216, allocations: 345.4 kB / 0.997 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.03235, allocations: 77.33 kB / 0.9971 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.03246, allocations: 40.48 kB / 0.9971 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.03247, allocations: 0 / 0.9971 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of Templates: time 0.01138/0.04384, allocations: 4.526 MB / 1.002 GB, free: 7.023 MB / 0.9512 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: 9.05957205593586]