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.001179/0.001179, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001097/0.001097, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.834/1.834, allocations: 359 MB / 0.6063 GB, free: 10.91 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.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.672e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003266/0.003283, allocations: 2.256 MB / 0.7905 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.00463, allocations: 0.9165 MB / 0.7914 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.00474, allocations: 4 kB / 0.7914 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.005271, allocations: 188.6 kB / 0.7916 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.005408, allocations: 73.28 kB / 0.7917 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.005794, allocations: 115.7 kB / 0.7918 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.00606, allocations: 234.9 kB / 0.792 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.006216, allocations: 54.06 kB / 0.7921 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.006377, allocations: 128.4 kB / 0.7922 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.00647, allocations: 67.73 kB / 0.7922 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.006505, allocations: 16.53 kB / 0.7923 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.006775, allocations: 144.7 kB / 0.7924 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.006944, allocations: 219.3 kB / 0.7926 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.007066, allocations: 135.5 kB / 0.7927 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.007584, allocations: 482.5 kB / 0.7932 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007586, allocations: 0 / 0.7932 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.007587, allocations: 0.5312 kB / 0.7932 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.007594, allocations: 1.375 kB / 0.7932 GB, free: 7.254 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.001049/0.008643, allocations: 1.042 MB / 0.7942 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.008679, allocations: 8.031 kB / 0.7942 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.009073, allocations: 126.4 kB / 0.7943 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.009499, allocations: 418.3 kB / 0.7947 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.00952, allocations: 8.375 kB / 0.7948 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.009537, allocations: 8.375 kB / 0.7948 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.009755, allocations: 113.2 kB / 0.7949 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.009764, allocations: 192 / 0.7949 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.009779, allocations: 8.375 kB / 0.7949 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.009786, allocations: 4.359 kB / 0.7949 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.009878, allocations: 55.33 kB / 0.7949 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.01063, allocations: 0.5737 MB / 0.7955 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.01083, allocations: 83.05 kB / 0.7956 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.01087, allocations: 23.81 kB / 0.7956 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.01127, allocations: 141.5 kB / 0.7957 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.0113, allocations: 41.38 kB / 0.7958 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.0113, allocations: 0 / 0.7958 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000293/0.0116, allocations: 164.3 kB / 0.7959 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.01163, allocations: 59.28 kB / 0.796 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.01245, allocations: 0.8311 MB / 0.7968 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.01247, allocations: 25.7 kB / 0.7968 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.01281, allocations: 454.7 kB / 0.7973 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.01284, allocations: 31.69 kB / 0.7973 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.01289, allocations: 31.36 kB / 0.7973 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01302, allocations: 496.4 kB / 0.7978 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.01306, allocations: 12.92 kB / 0.7978 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.01312, allocations: 43.05 kB / 0.7978 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.01321, allocations: 65.5 kB / 0.7979 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01321, allocations: 0 / 0.7979 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002175/0.01343, allocations: 159 kB / 0.7981 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01345, allocations: 11.98 kB / 0.7981 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01345, allocations: 4.5 kB / 0.7981 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.01346, allocations: 3.938 kB / 0.7981 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01357, allocations: 28.86 kB / 0.7981 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.01358, allocations: 5.031 kB / 0.7981 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.01367, allocations: 4 kB / 0.7981 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01368, allocations: 4 kB / 0.7981 GB, free: 2.02 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.0001177/0.0138, allocations: 157.9 kB / 0.7983 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.01389, allocations: 79.48 kB / 0.7983 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.01415, allocations: 162.8 kB / 0.7985 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01415, allocations: 0 / 0.7985 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01415, allocations: 3.938 kB / 0.7985 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01416, allocations: 0 / 0.7985 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.01453, allocations: 324.8 kB / 0.7988 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01453, allocations: 0 / 0.7988 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.01462, allocations: 23.92 kB / 0.7988 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01462, allocations: 0 / 0.7988 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.01463, allocations: 8 kB / 0.7988 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01463, allocations: 0 / 0.7988 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01464, allocations: 4 kB / 0.7988 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.01488, allocations: 295.3 kB / 0.7991 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.01502, allocations: 95.48 kB / 0.7992 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.01506, allocations: 0 / 0.7992 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01517, allocations: 8 kB / 0.7992 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.0152, allocations: 3.984 kB / 0.7992 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01521, allocations: 8 kB / 0.7992 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004642/0.01567, allocations: 0.4987 MB / 0.7997 GB, free: 316 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01567, allocations: 0 / 0.7997 GB, free: 316 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003338/0.01601, allocations: 75.83 kB / 0.7998 GB, free: 240 kB / 0.7448 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.0001516/0.01616, allocations: 107.2 kB / 0.7999 GB, free: 124 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.0163, allocations: 55.59 kB / 0.8 GB, free: 64 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01631, allocations: 0 / 0.8 GB, free: 64 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.01636, allocations: 43.72 kB / 0.8 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.01676, allocations: 51.39 kB / 0.8 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.01818, allocations: 0.9685 MB / 0.801 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.01831, allocations: 173.2 kB / 0.8012 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00012/0.01843, allocations: 73.3 kB / 0.8012 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01855, allocations: 126.2 kB / 0.8013 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.01855, allocations: 7.938 kB / 0.8014 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.008638/0.02719, allocations: 4.971 MB / 0.8062 GB, free: 9.625 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.207125959917903]