Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009881/0.0009881, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009932/0.0009932, allocations: 169 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 0.9988/0.9988, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.323/2.323, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.547e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006226/0.006262, allocations: 4.154 MB / 0.8938 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.00648, allocations: 167.4 kB / 0.8939 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.006523, allocations: 4 kB / 0.8939 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.00667, allocations: 3.938 kB / 0.8939 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.006771, allocations: 19.91 kB / 0.8939 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.00719, allocations: 83.62 kB / 0.894 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.007289, allocations: 31.84 kB / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.007341, allocations: 8 kB / 0.8941 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.007419, allocations: 19.97 kB / 0.8941 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.007509, allocations: 11.98 kB / 0.8941 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.007523, allocations: 0 / 0.8941 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.007742, allocations: 59.75 kB / 0.8942 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.007796, allocations: 3.984 kB / 0.8942 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.00782, allocations: 15.98 kB / 0.8942 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.008001, allocations: 59.81 kB / 0.8942 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.008006, allocations: 0 / 0.8942 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008007, allocations: 0 / 0.8942 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.008014, allocations: 0 / 0.8942 GB, free: 5.109 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.0004064/0.00842, allocations: 360.3 kB / 0.8946 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.008474, allocations: 16.62 kB / 0.8946 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.00852, allocations: 4.875 kB / 0.8946 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.008614, allocations: 112.6 kB / 0.8947 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.008691, allocations: 51.97 kB / 0.8947 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.008705, allocations: 8.359 kB / 0.8948 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.008848, allocations: 72.66 kB / 0.8948 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008857, allocations: 192 / 0.8948 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.008867, allocations: 3.938 kB / 0.8948 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.008896, allocations: 4 kB / 0.8948 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.008925, allocations: 11.98 kB / 0.8948 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.009328, allocations: 244.4 kB / 0.8951 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.009372, allocations: 27.06 kB / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.009386, allocations: 7.688 kB / 0.8951 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.806e-05/0.009455, allocations: 8.062 kB / 0.8951 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.009487, allocations: 49.23 kB / 0.8952 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.009488, allocations: 0 / 0.8952 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.009638, allocations: 37.64 kB / 0.8952 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.009668, allocations: 55.41 kB / 0.8953 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.009776, allocations: 157.9 kB / 0.8954 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.009989, allocations: 29.83 kB / 0.8954 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.01005, allocations: 138.8 kB / 0.8956 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.01006, allocations: 7.938 kB / 0.8956 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.0101, allocations: 23.38 kB / 0.8956 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.01024, allocations: 496.1 kB / 0.8961 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.01025, allocations: 4 kB / 0.8961 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.01028, allocations: 15.38 kB / 0.8961 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.01031, allocations: 27.31 kB / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01032, allocations: 0 / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.104e-05/0.01041, allocations: 53.62 kB / 0.8962 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01043, allocations: 4 kB / 0.8962 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01043, allocations: 3.984 kB / 0.8962 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01045, allocations: 4 kB / 0.8962 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.0105, allocations: 7.938 kB / 0.8962 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.0105, allocations: 3.984 kB / 0.8962 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.01053, allocations: 0 / 0.8962 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01054, allocations: 4 kB / 0.8962 GB, free: 2.867 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 8.643e-05/0.01062, allocations: 152.6 kB / 0.8963 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01065, allocations: 12 kB / 0.8963 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.01079, allocations: 167.7 kB / 0.8965 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/0.01087, allocations: 276 kB / 0.8968 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.746e-05/0.01095, allocations: 264.1 kB / 0.897 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-05/0.01103, allocations: 268 kB / 0.8973 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.01127, allocations: 476.5 kB / 0.8977 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/0.01131, allocations: 152.9 kB / 0.8979 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.01136, allocations: 148.8 kB / 0.898 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-05/0.01146, allocations: 268.1 kB / 0.8983 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.01155, allocations: 276 kB / 0.8985 GB, free: 360 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.715e-05/0.01164, allocations: 272 kB / 0.8988 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001143/0.01175, allocations: 268.3 kB / 0.8991 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01194, allocations: 451.9 kB / 0.8995 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.01199, allocations: 156.8 kB / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.01209, allocations: 276.1 kB / 0.8999 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.01223, allocations: 148.8 kB / 0.9 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.01232, allocations: 272.3 kB / 0.9003 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.01237, allocations: 144.9 kB / 0.9004 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.01242, allocations: 131.2 kB / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01242, allocations: 0 / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002757/0.0127, allocations: 15.94 kB / 0.9006 GB, free: 14.18 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.0002569/0.01295, allocations: 238.4 kB / 0.9008 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.01304, allocations: 23.66 kB / 0.9008 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01304, allocations: 0 / 0.9008 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01304, allocations: 0 / 0.9008 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.01357, allocations: 0.7101 MB / 0.9015 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.01402, allocations: 241.6 kB / 0.9018 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.01405, allocations: 51.36 kB / 0.9018 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.01409, allocations: 7.984 kB / 0.9018 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.01416, allocations: 82.19 kB / 0.9019 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/0.01416, allocations: 0 / 0.9019 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.00264/0.0168, allocations: 0.7338 MB / 0.9026 GB, free: 12.04 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.241971998941153]