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.0009097/0.0009097, 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.001537/0.001537, allocations: 181 kB / 24.09 MB, free: 420 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.9495/0.9495, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.81/1.81, allocations: 359 MB / 0.6055 GB, free: 10.86 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 1.332e-06/1.332e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.243e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003606/0.003618, allocations: 3.835 MB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.003748, allocations: 160.2 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.003769, allocations: 0 / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.54e-05/0.003854, allocations: 0.5312 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.003918, allocations: 17.56 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.004148, allocations: 84.28 kB / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.004212, allocations: 44.98 kB / 0.7916 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.004243, allocations: 0 / 0.7916 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.004289, allocations: 19.92 kB / 0.7916 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.004347, allocations: 13.12 kB / 0.7916 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.004362, allocations: 4 kB / 0.7916 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.004737, allocations: 212.7 kB / 0.7918 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.00477, allocations: 11.98 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.004783, allocations: 4 kB / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.004883, allocations: 63.8 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004884, allocations: 1.188 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004885, allocations: 0 / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.004888, allocations: 0 / 0.7919 GB, free: 7.773 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.0002653/0.005153, allocations: 363.5 kB / 0.7922 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.005182, allocations: 12.02 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.005207, allocations: 9.234 kB / 0.7922 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.462e-05/0.005272, allocations: 108.6 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.005315, allocations: 59.91 kB / 0.7924 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.005321, allocations: 384 / 0.7924 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.005411, allocations: 80.64 kB / 0.7925 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.005417, allocations: 4.188 kB / 0.7925 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.005425, allocations: 4.438 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.005442, allocations: 1.938 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.005458, allocations: 7.984 kB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.005702, allocations: 236.5 kB / 0.7927 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.611e-05/0.005728, allocations: 27 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-06/0.005738, allocations: 11.69 kB / 0.7928 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.005771, allocations: 10.53 kB / 0.7928 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.005789, allocations: 37.33 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.00579, allocations: 0 / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.728e-05/0.005878, allocations: 37.69 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.005897, allocations: 55.34 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.005955, allocations: 158.8 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.005966, allocations: 33.69 kB / 0.7931 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.006005, allocations: 135.7 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.00601, allocations: 7.891 kB / 0.7932 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.006033, allocations: 23.36 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.006126, allocations: 493.4 kB / 0.7937 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.006134, allocations: 7.984 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.006148, allocations: 23.31 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.006171, allocations: 27.03 kB / 0.7938 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006172, allocations: 0 / 0.7938 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.25e-05/0.006215, allocations: 49.56 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.006224, allocations: 8 kB / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006229, allocations: 4 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.006238, allocations: 0 / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.006262, allocations: 4 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006264, allocations: 2.312 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.006276, allocations: 4 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.00628, allocations: 0 / 0.7938 GB, free: 5.555 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 5.257e-05/0.006333, allocations: 164.5 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006346, allocations: 11.89 kB / 0.794 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.006425, allocations: 164.7 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/0.006479, allocations: 268 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/0.006555, allocations: 269.2 kB / 0.7947 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.006607, allocations: 268.1 kB / 0.7949 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.006759, allocations: 488.6 kB / 0.7954 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.006787, allocations: 146 kB / 0.7955 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.006818, allocations: 152.8 kB / 0.7957 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-05/0.006871, allocations: 268.1 kB / 0.7959 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.006922, allocations: 269.1 kB / 0.7962 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.078e-05/0.006973, allocations: 272 kB / 0.7964 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-05/0.007024, allocations: 268.1 kB / 0.7967 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.007139, allocations: 448.5 kB / 0.7971 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.007172, allocations: 146.9 kB / 0.7973 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.007236, allocations: 272 kB / 0.7975 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.007329, allocations: 156.8 kB / 0.7977 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.007386, allocations: 268 kB / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.007417, allocations: 148.9 kB / 0.7981 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.007461, allocations: 131.7 kB / 0.7982 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007461, allocations: 1.344 kB / 0.7982 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001488/0.00761, allocations: 23.92 kB / 0.7982 GB, free: 0.875 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.0001253/0.007735, allocations: 235.3 kB / 0.7984 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.428e-05/0.007779, allocations: 19.56 kB / 0.7985 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.00778, allocations: 0.6562 kB / 0.7985 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.007781, allocations: 0 / 0.7985 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.008083, allocations: 0.7184 MB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.008359, allocations: 229.6 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.008387, allocations: 51.36 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.008413, allocations: 4 kB / 0.7994 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.008474, allocations: 86.17 kB / 0.7995 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of SimCode: time 4.41e-07/0.008474, allocations: 4 kB / 0.7995 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of Templates: time 0.001858/0.01033, allocations: 0.7598 MB / 0.8003 GB, free: 14.73 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: 4.77139258524403]