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.001298/0.001298, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001474/0.001474, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9305/0.9305, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.739/1.739, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.054e-06/2.054e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.556e-05, allocations: 5.516 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003091/0.003116, allocations: 2.248 MB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.004226, allocations: 0.9171 MB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.004328, allocations: 4 kB / 0.7907 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.004767, allocations: 188.1 kB / 0.7909 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004871, allocations: 71.69 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.005212, allocations: 104.5 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.005431, allocations: 234.9 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.005584, allocations: 59.7 kB / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.005722, allocations: 135.6 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.005803, allocations: 63.75 kB / 0.7915 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.00583, allocations: 16 kB / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.006059, allocations: 145.1 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.006206, allocations: 219.3 kB / 0.7919 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.0063, allocations: 131.5 kB / 0.792 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.00672, allocations: 485.8 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006722, allocations: 1.156 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.006724, allocations: 0 / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.006729, allocations: 0 / 0.7924 GB, free: 7.195 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.0008961/0.007625, allocations: 1.039 MB / 0.7935 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.00767, allocations: 8.031 kB / 0.7935 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.007985, allocations: 135.3 kB / 0.7936 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.008312, allocations: 408.8 kB / 0.794 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.008334, allocations: 8.375 kB / 0.794 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.008355, allocations: 12.94 kB / 0.794 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008554, allocations: 112.8 kB / 0.7941 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.008561, allocations: 192 / 0.7941 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.008574, allocations: 8.375 kB / 0.7941 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.00858, allocations: 1 kB / 0.7941 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.008648, allocations: 49.59 kB / 0.7942 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.009251, allocations: 0.5854 MB / 0.7947 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.009439, allocations: 80.62 kB / 0.7948 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.009476, allocations: 32.23 kB / 0.7949 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.009773, allocations: 140.3 kB / 0.795 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.009798, allocations: 37.33 kB / 0.795 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.0098, allocations: 0 / 0.795 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000243/0.01004, allocations: 167.4 kB / 0.7952 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.01007, allocations: 55.34 kB / 0.7952 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.01063, allocations: 0.8311 MB / 0.796 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.01065, allocations: 26.48 kB / 0.7961 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.01117, allocations: 450.7 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.0112, allocations: 36.19 kB / 0.7965 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.01124, allocations: 32.42 kB / 0.7966 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01136, allocations: 492.4 kB / 0.797 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.01139, allocations: 13.05 kB / 0.797 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.01143, allocations: 47.03 kB / 0.7971 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.0115, allocations: 64.38 kB / 0.7972 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01151, allocations: 0.8125 kB / 0.7972 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001575/0.01166, allocations: 162.3 kB / 0.7973 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01168, allocations: 8 kB / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01168, allocations: 2.25 kB / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.01169, allocations: 0 / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.01177, allocations: 23.98 kB / 0.7973 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.01178, allocations: 3.938 kB / 0.7973 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.01184, allocations: 11.03 kB / 0.7974 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01184, allocations: 7.984 kB / 0.7974 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 9.994e-05/0.01194, allocations: 164.5 kB / 0.7975 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.012, allocations: 79.48 kB / 0.7976 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.0122, allocations: 155.7 kB / 0.7977 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.0122, allocations: 0 / 0.7977 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01221, allocations: 3.938 kB / 0.7978 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01221, allocations: 11.98 kB / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.01247, allocations: 316.9 kB / 0.7981 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01247, allocations: 0 / 0.7981 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.01252, allocations: 19.98 kB / 0.7981 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01253, allocations: 0 / 0.7981 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.01253, allocations: 0 / 0.7981 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01253, allocations: 0 / 0.7981 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01254, allocations: 7.984 kB / 0.7981 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.01271, allocations: 303.3 kB / 0.7984 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.0128, allocations: 99.48 kB / 0.7985 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01283, allocations: 0 / 0.7985 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.01289, allocations: 7.984 kB / 0.7985 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.01292, allocations: 8 kB / 0.7985 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01292, allocations: 3.984 kB / 0.7985 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002848/0.01321, allocations: 0.491 MB / 0.799 GB, free: 256 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 0 / 0.799 GB, free: 256 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002175/0.01343, allocations: 75.83 kB / 0.799 GB, free: 180 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.0001525/0.01358, allocations: 119.2 kB / 0.7992 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.0137, allocations: 59.58 kB / 0.7992 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.01371, allocations: 4 kB / 0.7992 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.01374, allocations: 27.62 kB / 0.7992 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01401, allocations: 55.95 kB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01512, allocations: 0.975 MB / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.01524, allocations: 169.2 kB / 0.8004 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.01535, allocations: 69.31 kB / 0.8005 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.01547, allocations: 130.1 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/0.01547, allocations: 3.938 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.009172/0.02465, allocations: 4.852 MB / 0.8053 GB, free: 9.75 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.02388240583241]