Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00147/0.00147, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001922/0.001922, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.351/2.351, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.314e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004268/0.004291, allocations: 3.878 MB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.00444, allocations: 167.4 kB / 0.8937 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.004462, allocations: 0 / 0.8937 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.87e-05/0.004561, allocations: 7.922 kB / 0.8937 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.004629, allocations: 7.984 kB / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.0049, allocations: 91.55 kB / 0.8938 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.004968, allocations: 35.84 kB / 0.8938 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.005002, allocations: 4 kB / 0.8938 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.005059, allocations: 15.98 kB / 0.8938 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.005128, allocations: 19.91 kB / 0.8938 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.00514, allocations: 0 / 0.8938 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.005526, allocations: 175.5 kB / 0.894 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.005568, allocations: 11.97 kB / 0.894 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.005586, allocations: 7.938 kB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.005727, allocations: 67.8 kB / 0.8941 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00573, allocations: 4 kB / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00573, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005735, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.8542 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.0003077/0.006042, allocations: 356.3 kB / 0.8944 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.006077, allocations: 12.03 kB / 0.8944 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.006107, allocations: 4.922 kB / 0.8944 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.006174, allocations: 108.6 kB / 0.8945 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.006224, allocations: 55.95 kB / 0.8946 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.006232, allocations: 384 / 0.8946 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.006334, allocations: 84.59 kB / 0.8947 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00634, allocations: 4.188 kB / 0.8947 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.006349, allocations: 7.875 kB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.006367, allocations: 4 kB / 0.8947 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.006384, allocations: 8 kB / 0.8947 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.006652, allocations: 240.3 kB / 0.8949 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.056e-05/0.006683, allocations: 35.05 kB / 0.895 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.006694, allocations: 11.69 kB / 0.895 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.006733, allocations: 15.66 kB / 0.895 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.006755, allocations: 41.33 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.006756, allocations: 4 kB / 0.895 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001/0.006856, allocations: 29.7 kB / 0.8951 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.006879, allocations: 51.41 kB / 0.8951 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.006944, allocations: 161.9 kB / 0.8953 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.006959, allocations: 25.7 kB / 0.8953 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.007006, allocations: 138.8 kB / 0.8954 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.007011, allocations: 7.953 kB / 0.8954 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.007037, allocations: 23.36 kB / 0.8954 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007138, allocations: 492.1 kB / 0.8959 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.007145, allocations: 0 / 0.8959 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.007163, allocations: 31.42 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.007189, allocations: 27.38 kB / 0.896 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.00719, allocations: 0 / 0.896 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.693e-05/0.007237, allocations: 45.58 kB / 0.896 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.007247, allocations: 4 kB / 0.896 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007252, allocations: 3.984 kB / 0.896 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.007263, allocations: 0 / 0.896 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-05/0.007294, allocations: 8 kB / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007296, allocations: 64 / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.007308, allocations: 4 kB / 0.896 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007313, allocations: 0 / 0.896 GB, free: 3.055 MB / 0.8542 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 6.046e-05/0.007374, allocations: 164.6 kB / 0.8962 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.007388, allocations: 3.938 kB / 0.8962 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.007482, allocations: 167.7 kB / 0.8964 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/0.007536, allocations: 268.4 kB / 0.8966 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-05/0.007595, allocations: 268 kB / 0.8969 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.543e-05/0.00765, allocations: 264.1 kB / 0.8971 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.007811, allocations: 484.5 kB / 0.8976 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.007845, allocations: 160.8 kB / 0.8977 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.007876, allocations: 152.9 kB / 0.8979 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.738e-05/0.007944, allocations: 268 kB / 0.8981 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.008011, allocations: 268.1 kB / 0.8984 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-05/0.008077, allocations: 272 kB / 0.8987 GB, free: 264 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.768e-05/0.008154, allocations: 268 kB / 0.8989 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.008298, allocations: 447.9 kB / 0.8993 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.008342, allocations: 152.9 kB / 0.8995 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.008429, allocations: 268 kB / 0.8997 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.008535, allocations: 156.8 kB / 0.8999 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.008634, allocations: 272.1 kB / 0.9001 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.008667, allocations: 156.8 kB / 0.9003 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.008707, allocations: 127.2 kB / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.008707, allocations: 0 / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001671/0.008874, allocations: 15.94 kB / 0.9004 GB, free: 14.36 MB / 0.8698 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.0001666/0.009041, allocations: 234.4 kB / 0.9007 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.009106, allocations: 15.67 kB / 0.9007 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009107, allocations: 0 / 0.9007 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.00911, allocations: 3.938 kB / 0.9007 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.00948, allocations: 0.718 MB / 0.9014 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.009822, allocations: 237.4 kB / 0.9016 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.009853, allocations: 59.34 kB / 0.9017 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.00988, allocations: 0 / 0.9017 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.009941, allocations: 86.17 kB / 0.9017 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/0.009942, allocations: 4 kB / 0.9017 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.002222/0.01216, allocations: 0.7564 MB / 0.9025 GB, free: 12.21 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.290499467868358]