Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001628/0.001628, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002174/0.002174, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.827/2.827, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.352e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004443/0.004476, allocations: 2.182 MB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.006362, allocations: 0.8825 MB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.00653, allocations: 4 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.007187, allocations: 176.1 kB / 0.7896 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.007389, allocations: 72.48 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.007875, allocations: 115.7 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.008246, allocations: 231 kB / 0.79 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.008434, allocations: 61.14 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.008666, allocations: 124.2 kB / 0.7901 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.0088, allocations: 69.39 kB / 0.7902 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.008844, allocations: 20 kB / 0.7902 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.009203, allocations: 147.8 kB / 0.7904 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.009462, allocations: 215.3 kB / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.009656, allocations: 139.4 kB / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.01063, allocations: 0.7094 MB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01064, allocations: 0 / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01064, allocations: 0 / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.01066, allocations: 0.7812 kB / 0.7914 GB, free: 7.688 MB / 0.7448 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.001841/0.0125, allocations: 0.9159 MB / 0.7923 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.01254, allocations: 12.03 kB / 0.7923 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.01322, allocations: 126.4 kB / 0.7924 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.01424, allocations: 0.5423 MB / 0.7929 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.01427, allocations: 12.38 kB / 0.793 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.0143, allocations: 12.38 kB / 0.793 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.01478, allocations: 200.7 kB / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01479, allocations: 192 / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01481, allocations: 4.375 kB / 0.7932 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01482, allocations: 4.375 kB / 0.7932 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.01565, allocations: 238.3 kB / 0.7934 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.01703, allocations: 0.7848 MB / 0.7942 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.01781, allocations: 305.7 kB / 0.7945 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.01806, allocations: 110.6 kB / 0.7946 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.01877, allocations: 160.8 kB / 0.7947 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.0188, allocations: 30.56 kB / 0.7947 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.0188, allocations: 0.6562 kB / 0.7947 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0009719/0.01977, allocations: 418 kB / 0.7951 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.01982, allocations: 51.41 kB / 0.7952 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.02131, allocations: 0.9974 MB / 0.7962 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02133, allocations: 25.7 kB / 0.7962 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.02171, allocations: 340.2 kB / 0.7965 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.02175, allocations: 31.73 kB / 0.7965 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.02183, allocations: 33.66 kB / 0.7966 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.02201, allocations: 310.9 kB / 0.7969 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.02226, allocations: 93.02 kB / 0.797 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.02251, allocations: 123.6 kB / 0.7971 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.02297, allocations: 217.1 kB / 0.7973 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02297, allocations: 4 kB / 0.7973 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006792/0.02365, allocations: 325.4 kB / 0.7976 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.02367, allocations: 4 kB / 0.7976 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02368, allocations: 3.938 kB / 0.7976 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.0237, allocations: 7.938 kB / 0.7976 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.02388, allocations: 28.03 kB / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.02389, allocations: 4 kB / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.02406, allocations: 11.89 kB / 0.7977 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.02408, allocations: 4 kB / 0.7977 GB, free: 1.102 MB / 0.7448 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.0003314/0.02441, allocations: 253.7 kB / 0.7979 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.02454, allocations: 75.48 kB / 0.798 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.02527, allocations: 336.5 kB / 0.7983 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.02528, allocations: 7.938 kB / 0.7983 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.02528, allocations: 0 / 0.7983 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.02529, allocations: 0 / 0.7983 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.02591, allocations: 425 kB / 0.7987 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.02591, allocations: 4 kB / 0.7987 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.02607, allocations: 19.98 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.02608, allocations: 4 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.02611, allocations: 3.984 kB / 0.7987 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.02611, allocations: 0 / 0.7987 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.02612, allocations: 11.92 kB / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.02682, allocations: 402.9 kB / 0.7991 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.02704, allocations: 107.4 kB / 0.7992 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.0271, allocations: 8 kB / 0.7992 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.02729, allocations: 7.984 kB / 0.7992 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.02734, allocations: 11.92 kB / 0.7993 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.02735, allocations: 4 kB / 0.7993 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001098/0.02845, allocations: 0.7215 MB / 0.8 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02845, allocations: 0 / 0.8 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00039/0.02884, allocations: 67.89 kB / 0.8 GB, free: 14.6 MB / 0.7605 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.0002592/0.0291, allocations: 111.2 kB / 0.8001 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008173/0.02992, allocations: 219.8 kB / 0.8003 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02992, allocations: 0 / 0.8003 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.03016, allocations: 103.9 kB / 0.8004 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.03063, allocations: 57.19 kB / 0.8005 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.03277, allocations: 1.186 MB / 0.8017 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.03327, allocations: 341.5 kB / 0.802 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002307/0.0335, allocations: 77.33 kB / 0.8021 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.03361, allocations: 44.42 kB / 0.8021 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.03361, allocations: 0 / 0.8021 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.01267/0.04628, allocations: 4.556 MB / 0.8066 GB, free: 7.887 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.456268506939523]