Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.00107/0.00107, 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.001089/0.001089, allocations: 161 kB / 23.81 MB, free: 0.7539 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.069/1.069, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.841/1.841, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.126e-05, allocations: 5.766 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006276/0.006307, allocations: 3.853 MB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.006528, allocations: 155.5 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.006555, allocations: 2.281 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.006687, allocations: 4 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.006792, allocations: 19.84 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.007179, allocations: 84.22 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.00728, allocations: 36.56 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.007326, allocations: 3.984 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.007394, allocations: 20.52 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.00748, allocations: 13.64 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.007497, allocations: 0 / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.008198, allocations: 215.6 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.00825, allocations: 7.938 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.008279, allocations: 4 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.008452, allocations: 69.59 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.008457, allocations: 0 / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008458, allocations: 0 / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.008464, allocations: 0 / 0.7914 GB, free: 8.055 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004515/0.008915, allocations: 361.4 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.008962, allocations: 8.031 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.009019, allocations: 9.234 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.009128, allocations: 115.9 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.009217, allocations: 59.91 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.009237, allocations: 384 / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.009404, allocations: 84.59 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.009412, allocations: 192 / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.009427, allocations: 3.938 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.009458, allocations: 0 / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.009495, allocations: 11.98 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.009938, allocations: 252.3 kB / 0.7923 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.009982, allocations: 32.94 kB / 0.7923 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.01, allocations: 11.62 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.01006, allocations: 4.062 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.01009, allocations: 37.39 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.01009, allocations: 2.375 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000169/0.01026, allocations: 37.69 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.01029, allocations: 59.34 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.0104, allocations: 158.1 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.01041, allocations: 29.69 kB / 0.7927 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.01047, allocations: 134.8 kB / 0.7928 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.01048, allocations: 8.797 kB / 0.7928 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.01052, allocations: 23.38 kB / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01067, allocations: 493 kB / 0.7933 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.01069, allocations: 7.984 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.01072, allocations: 24.69 kB / 0.7933 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.01076, allocations: 23.38 kB / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01076, allocations: 0.7188 kB / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.077e-05/0.01085, allocations: 54.44 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01087, allocations: 8 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01088, allocations: 1.562 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.0109, allocations: 0 / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.01095, allocations: 4 kB / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01095, allocations: 0 / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.01098, allocations: 4 kB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01099, allocations: 6.391 kB / 0.7934 GB, free: 5.805 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.319e-05/0.01107, allocations: 160.5 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.0111, allocations: 7.891 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.01125, allocations: 163.7 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.133e-05/0.01133, allocations: 272 kB / 0.794 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-05/0.01142, allocations: 269 kB / 0.7942 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-05/0.01151, allocations: 268 kB / 0.7945 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01175, allocations: 0.4971 MB / 0.795 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/0.01179, allocations: 144.9 kB / 0.7951 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.01184, allocations: 148.8 kB / 0.7953 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.133e-05/0.01192, allocations: 273.1 kB / 0.7955 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/0.012, allocations: 264.1 kB / 0.7958 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.818e-05/0.01208, allocations: 276 kB / 0.796 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.908e-05/0.01216, allocations: 273.2 kB / 0.7963 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.01249, allocations: 440 kB / 0.7967 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.01254, allocations: 156.8 kB / 0.7969 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.01264, allocations: 276.5 kB / 0.7971 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.0128, allocations: 150.5 kB / 0.7973 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.01289, allocations: 268 kB / 0.7975 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.01293, allocations: 148.9 kB / 0.7977 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.01299, allocations: 131.2 kB / 0.7978 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01299, allocations: 0.5938 kB / 0.7978 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003121/0.0133, allocations: 15.94 kB / 0.7978 GB, free: 1.105 MB / 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 (0): * Single equations (assignments): 0 * 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.0002366/0.01354, allocations: 239.7 kB / 0.798 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.01364, allocations: 20.45 kB / 0.7981 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01364, allocations: 4 kB / 0.7981 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.01364, allocations: 0 / 0.7981 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.01414, allocations: 0.7068 MB / 0.7988 GB, free: 128 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.01484, allocations: 232.4 kB / 0.799 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01489, allocations: 55.36 kB / 0.799 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.01494, allocations: 10.67 kB / 0.799 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.01497, allocations: 12.5 kB / 0.7991 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of SimCode: time 1.172e-06/0.01497, allocations: 0 / 0.7991 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of Templates: time 0.003624/0.01859, allocations: 0.6929 MB / 0.7997 GB, free: 15.1 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.378935283981264]