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.0007938/0.0007938, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001282/0.001282, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9359/0.9359, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.708/1.708, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.339e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002375/0.002388, allocations: 2.275 MB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003392, allocations: 0.9321 MB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.003462, allocations: 4.688 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.003835, allocations: 181.5 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.003927, allocations: 71.05 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004189, allocations: 115.7 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.004366, allocations: 232 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004472, allocations: 58.05 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.004576, allocations: 123.7 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.004637, allocations: 68.64 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.004663, allocations: 16 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.004866, allocations: 160.5 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.004984, allocations: 215.3 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.00507, allocations: 128.5 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.005444, allocations: 481.8 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005446, allocations: 0 / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005447, allocations: 1.344 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.005452, allocations: 0 / 0.792 GB, free: 7.473 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.0007206/0.006173, allocations: 1.038 MB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.34e-05/0.006196, allocations: 8.594 kB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.006477, allocations: 130.8 kB / 0.7932 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.006828, allocations: 444.8 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.00684, allocations: 8.375 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.006853, allocations: 9.25 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.007026, allocations: 120.6 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.007032, allocations: 192 / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.007044, allocations: 4.375 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.007051, allocations: 5 kB / 0.7937 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.007142, allocations: 68.52 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.007769, allocations: 0.7195 MB / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.007935, allocations: 91.73 kB / 0.7946 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.007973, allocations: 24.5 kB / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.008277, allocations: 165.5 kB / 0.7948 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.008294, allocations: 37.39 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.008295, allocations: 1.125 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.008519, allocations: 182.1 kB / 0.795 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.008545, allocations: 55.41 kB / 0.795 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.009198, allocations: 0.8634 MB / 0.7959 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.009213, allocations: 25.7 kB / 0.7959 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.009441, allocations: 436.1 kB / 0.7963 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.009461, allocations: 39.62 kB / 0.7964 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.009499, allocations: 27.38 kB / 0.7964 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.0096, allocations: 496.2 kB / 0.7969 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.009635, allocations: 12 kB / 0.7969 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.009681, allocations: 47.05 kB / 0.7969 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.00976, allocations: 70.98 kB / 0.797 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009762, allocations: 0 / 0.797 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001665/0.009928, allocations: 175 kB / 0.7972 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.009939, allocations: 6.188 kB / 0.7972 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.009942, allocations: 0 / 0.7972 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.009949, allocations: 9.062 kB / 0.7972 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.01003, allocations: 23.98 kB / 0.7972 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.01003, allocations: 1.125 kB / 0.7972 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.01009, allocations: 12 kB / 0.7972 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.0101, allocations: 8.047 kB / 0.7972 GB, free: 1.961 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 8.755e-05/0.01019, allocations: 164.5 kB / 0.7974 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.01024, allocations: 75.48 kB / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.01043, allocations: 160.6 kB / 0.7976 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01043, allocations: 7.938 kB / 0.7976 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01043, allocations: 0 / 0.7976 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01044, allocations: 3.984 kB / 0.7976 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.01077, allocations: 444.3 kB / 0.798 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01077, allocations: 4 kB / 0.798 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.01083, allocations: 15.98 kB / 0.798 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.01083, allocations: 0 / 0.798 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01084, allocations: 12 kB / 0.7981 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.01084, allocations: 7.922 kB / 0.7981 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01084, allocations: 7.922 kB / 0.7981 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01102, allocations: 299.4 kB / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.01111, allocations: 99.48 kB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01114, allocations: 4 kB / 0.7985 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.01121, allocations: 7.984 kB / 0.7985 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.01123, allocations: 11.92 kB / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.01124, allocations: 0 / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003954/0.01163, allocations: 0.538 MB / 0.799 GB, free: 52 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 0 / 0.799 GB, free: 52 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002263/0.01186, allocations: 71.94 kB / 0.7991 GB, free: 15.98 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.0001053/0.01196, allocations: 115.1 kB / 0.7992 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.01208, allocations: 68.25 kB / 0.7992 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.01208, allocations: 0 / 0.7992 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.01212, allocations: 39.98 kB / 0.7993 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.01237, allocations: 61.31 kB / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.01333, allocations: 0.9795 MB / 0.8003 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01343, allocations: 177.2 kB / 0.8005 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.01354, allocations: 61.33 kB / 0.8005 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.0136, allocations: 32.5 kB / 0.8006 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/0.0136, allocations: 4 kB / 0.8006 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.007719/0.02132, allocations: 4.783 MB / 0.8052 GB, free: 9.633 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.646905939094722]