Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0008854/0.0008854, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009135/0.0009135, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8811/0.8811, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.362e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002731/0.002755, allocations: 2.583 MB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.00386, allocations: 1.01 MB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.003976, allocations: 4 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.004397, allocations: 194.6 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.004514, allocations: 99.23 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.004875, allocations: 187.5 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.005151, allocations: 411.7 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.005363, allocations: 146.3 kB / 0.9867 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.00552, allocations: 219.5 kB / 0.9869 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.005636, allocations: 131.5 kB / 0.9871 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.005678, allocations: 40 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.005889, allocations: 175.6 kB / 0.9873 GB, free: 12.85 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.006031, allocations: 267.2 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.00614, allocations: 195.3 kB / 0.9877 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.006796, allocations: 0.9575 MB / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006798, allocations: 0 / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006799, allocations: 0 / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.006807, allocations: 0 / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009428/0.00775, allocations: 1.078 MB / 0.9897 GB, free: 10.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.007784, allocations: 12.03 kB / 0.9897 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.00841, allocations: 240 kB / 0.9899 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.009163, allocations: 0.6664 MB / 0.9906 GB, free: 9.363 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.009181, allocations: 29.03 kB / 0.9906 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.009211, allocations: 32.38 kB / 0.9906 GB, free: 9.305 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.009682, allocations: 404.2 kB / 0.991 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.009693, allocations: 4.172 kB / 0.991 GB, free: 8.891 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.009717, allocations: 16.38 kB / 0.991 GB, free: 8.875 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.009725, allocations: 12.12 kB / 0.9911 GB, free: 8.863 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.01026, allocations: 426.3 kB / 0.9915 GB, free: 8.449 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.01191, allocations: 1.405 MB / 0.9928 GB, free: 7.012 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.01229, allocations: 202.6 kB / 0.993 GB, free: 6.805 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.01245, allocations: 92.8 kB / 0.9931 GB, free: 6.711 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.01248, allocations: 4 kB / 0.9931 GB, free: 6.707 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.0125, allocations: 42.5 kB / 0.9932 GB, free: 6.656 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.133e-06/0.0125, allocations: 0 / 0.9932 GB, free: 6.656 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0006021/0.0131, allocations: 371.5 kB / 0.9935 GB, free: 6.289 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.01313, allocations: 51.41 kB / 0.9936 GB, free: 6.227 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.01404, allocations: 1.218 MB / 0.9948 GB, free: 4.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01407, allocations: 33.7 kB / 0.9948 GB, free: 4.945 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.0143, allocations: 432.2 kB / 0.9952 GB, free: 4.516 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.01433, allocations: 71.33 kB / 0.9953 GB, free: 4.445 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.0144, allocations: 57.69 kB / 0.9953 GB, free: 4.383 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.01447, allocations: 321.9 kB / 0.9956 GB, free: 4.062 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.01466, allocations: 143.9 kB / 0.9958 GB, free: 3.922 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.01488, allocations: 231.6 kB / 0.996 GB, free: 3.668 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.01524, allocations: 275.5 kB / 0.9962 GB, free: 3.383 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01524, allocations: 0 / 0.9962 GB, free: 3.383 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004941/0.01573, allocations: 463.8 kB / 0.9967 GB, free: 2.926 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01575, allocations: 8 kB / 0.9967 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01575, allocations: 0 / 0.9967 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01577, allocations: 4 kB / 0.9967 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01592, allocations: 64.05 kB / 0.9968 GB, free: 2.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01593, allocations: 7.938 kB / 0.9968 GB, free: 2.844 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01605, allocations: 35.77 kB / 0.9968 GB, free: 2.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01607, allocations: 11.98 kB / 0.9968 GB, free: 2.797 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002019/0.01627, allocations: 265.7 kB / 0.9971 GB, free: 2.527 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.01633, allocations: 83.44 kB / 0.9971 GB, free: 2.445 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.0168, allocations: 321.5 kB / 0.9975 GB, free: 2.121 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.0168, allocations: 11.98 kB / 0.9975 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01681, allocations: 0 / 0.9975 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01681, allocations: 7.875 kB / 0.9975 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008881/0.0177, allocations: 0.8537 MB / 0.9983 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.0177, allocations: 0 / 0.9983 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01782, allocations: 43.91 kB / 0.9983 GB, free: 1.148 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01782, allocations: 8.125 kB / 0.9984 GB, free: 1.141 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01784, allocations: 15.98 kB / 0.9984 GB, free: 1.125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01784, allocations: 0 / 0.9984 GB, free: 1.125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01784, allocations: 8 kB / 0.9984 GB, free: 1.117 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.01826, allocations: 434.6 kB / 0.9988 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.0184, allocations: 131.2 kB / 0.9989 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.01843, allocations: 4 kB / 0.9989 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.01857, allocations: 15.98 kB / 0.9989 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.01861, allocations: 19.97 kB / 0.999 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01862, allocations: 8 kB / 0.999 GB, free: 496 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000661/0.01928, allocations: 0.8903 MB / 0.9998 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01928, allocations: 0 / 0.9998 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002661/0.01954, allocations: 103.8 kB / 0.9999 GB, free: 15.48 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001505/0.0197, allocations: 119.1 kB / 1 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.0201, allocations: 275.7 kB / 1 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0201, allocations: 0 / 1 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02027, allocations: 108.3 kB / 1 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.02057, allocations: 63.27 kB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.02197, allocations: 1.425 MB / 1.002 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.02224, allocations: 399.6 kB / 1.002 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.02235, allocations: 52.47 kB / 1.002 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.02235, allocations: 0 / 1.002 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of Templates: time 0.007622/0.02997, allocations: 9.236 MB / 1.011 GB, free: 3.758 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 6.817955415695906]