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.0009692/0.0009692, allocations: 87.58 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.0009568/0.0009568, allocations: 161 kB / 23.82 MB, free: 0.75 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.9503/0.9503, allocations: 177.1 MB / 204.2 MB, free: 5.613 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 2.002/2.002, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.643e-06/1.643e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.448e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002868/0.002893, allocations: 2.272 MB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004124, allocations: 0.9249 MB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.00422, allocations: 9.188 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.004719, allocations: 175.7 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004829, allocations: 77.22 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.005188, allocations: 115.8 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.005453, allocations: 230.9 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.005605, allocations: 58.05 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.005724, allocations: 127.6 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.005816, allocations: 68.47 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.005844, allocations: 16 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.006092, allocations: 149.4 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.006249, allocations: 223.3 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.006361, allocations: 131.5 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.006798, allocations: 493.8 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006801, allocations: 1.75 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006802, allocations: 0 / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.006808, allocations: 4 kB / 0.792 GB, free: 7.434 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.001008/0.007816, allocations: 1.042 MB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.007857, allocations: 9.219 kB / 0.7931 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.008189, allocations: 130.1 kB / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.008619, allocations: 444.8 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.00864, allocations: 9.188 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.008662, allocations: 12.38 kB / 0.7936 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.008889, allocations: 132 kB / 0.7938 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.008902, allocations: 0.7188 kB / 0.7938 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.008918, allocations: 5.688 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.008929, allocations: 4.375 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.009039, allocations: 52.44 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.009866, allocations: 0.7153 MB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.01011, allocations: 96.16 kB / 0.7946 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.01016, allocations: 33 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.01051, allocations: 156.7 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.01054, allocations: 37.39 kB / 0.7948 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.01054, allocations: 0.5 kB / 0.7948 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000307/0.01085, allocations: 178.3 kB / 0.795 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01088, allocations: 56.05 kB / 0.7951 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.01159, allocations: 0.8627 MB / 0.7959 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.01161, allocations: 32.2 kB / 0.7959 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.01206, allocations: 430.8 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.01208, allocations: 39.62 kB / 0.7964 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.01213, allocations: 31.38 kB / 0.7964 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01224, allocations: 492.4 kB / 0.7969 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.01229, allocations: 22.83 kB / 0.7969 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.01234, allocations: 54.92 kB / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.01244, allocations: 67 kB / 0.797 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01244, allocations: 0 / 0.797 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002007/0.01264, allocations: 167.2 kB / 0.7972 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01266, allocations: 9.875 kB / 0.7972 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01267, allocations: 0 / 0.7972 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01269, allocations: 5 kB / 0.7972 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.01278, allocations: 27.92 kB / 0.7972 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01278, allocations: 1.094 kB / 0.7972 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.01285, allocations: 7.984 kB / 0.7972 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01286, allocations: 4.688 kB / 0.7972 GB, free: 1.918 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.0001059/0.01296, allocations: 157.1 kB / 0.7974 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.01302, allocations: 84.77 kB / 0.7975 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01325, allocations: 158.9 kB / 0.7976 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01326, allocations: 7.922 kB / 0.7976 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01326, allocations: 0 / 0.7976 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01326, allocations: 0 / 0.7976 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.01362, allocations: 448.3 kB / 0.798 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01363, allocations: 3.984 kB / 0.798 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.01369, allocations: 20 kB / 0.7981 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.0137, allocations: 3.984 kB / 0.7981 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01371, allocations: 0 / 0.7981 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01371, allocations: 3.938 kB / 0.7981 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01371, allocations: 11.92 kB / 0.7981 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01393, allocations: 307.3 kB / 0.7984 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.01404, allocations: 95.5 kB / 0.7985 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.01407, allocations: 7.984 kB / 0.7985 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.01414, allocations: 0 / 0.7985 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.01419, allocations: 19.84 kB / 0.7985 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.0142, allocations: 8 kB / 0.7985 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004171/0.01461, allocations: 0.5341 MB / 0.799 GB, free: 4 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01461, allocations: 0 / 0.799 GB, free: 4 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002494/0.01486, allocations: 75.94 kB / 0.7991 GB, free: 15.93 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.0001501/0.01501, allocations: 115.1 kB / 0.7992 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01516, allocations: 60.25 kB / 0.7993 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01516, allocations: 0 / 0.7993 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.01521, allocations: 43.73 kB / 0.7993 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.0155, allocations: 59.42 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.01665, allocations: 0.9763 MB / 0.8003 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01676, allocations: 173.2 kB / 0.8005 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.01687, allocations: 57.33 kB / 0.8005 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.01694, allocations: 36.5 kB / 0.8006 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.01694, allocations: 0 / 0.8006 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.008726/0.02567, allocations: 4.583 MB / 0.805 GB, free: 9.793 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: 5.787438604980707]