Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009677/0.0009677, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009585/0.0009585, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9815/0.9815, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.859/1.859, 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.755e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004193/0.004221, allocations: 4.171 MB / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.004373, allocations: 160.1 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.0044, allocations: 1.656 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.004513, allocations: 0 / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.004593, allocations: 15.86 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.0049, allocations: 85.61 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.004987, allocations: 39.84 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.005022, allocations: 1.344 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.005075, allocations: 27.91 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.005142, allocations: 7.984 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.005157, allocations: 4 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.005316, allocations: 61.34 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.005362, allocations: 7.984 kB / 0.7915 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.005382, allocations: 4 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.005517, allocations: 67.8 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00552, allocations: 0.9062 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005521, allocations: 0 / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005526, allocations: 1.688 kB / 0.7916 GB, free: 7.867 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.0003341/0.00586, allocations: 364.3 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005896, allocations: 8.031 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.005943, allocations: 5.234 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.00602, allocations: 113.2 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.006082, allocations: 55.95 kB / 0.7921 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.006095, allocations: 5.062 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.006425, allocations: 77.28 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.006432, allocations: 4.188 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006443, allocations: 5 kB / 0.7922 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.006468, allocations: 0 / 0.7922 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.006494, allocations: 4 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.006852, allocations: 260.3 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.592e-05/0.006888, allocations: 32.34 kB / 0.7925 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.006911, allocations: 15.69 kB / 0.7925 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.006955, allocations: 5.125 kB / 0.7925 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.006978, allocations: 37.39 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.00698, allocations: 0 / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.007102, allocations: 38.14 kB / 0.7926 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.007126, allocations: 56.27 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.007201, allocations: 161.9 kB / 0.7928 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.007213, allocations: 26.52 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.007257, allocations: 134.8 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.007265, allocations: 12.88 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.007289, allocations: 19.38 kB / 0.793 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.007394, allocations: 0.4883 MB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.007405, allocations: 1.219 kB / 0.7935 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.007426, allocations: 23.36 kB / 0.7935 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.007457, allocations: 28.22 kB / 0.7935 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007459, allocations: 6.156 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.019e-05/0.007519, allocations: 49.62 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007532, allocations: 4 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007536, allocations: 0 / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.007553, allocations: 8 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.007595, allocations: 6.938 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007601, allocations: 3.938 kB / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.007615, allocations: 0 / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.007624, allocations: 4 kB / 0.7936 GB, free: 5.613 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.94e-05/0.007684, allocations: 152.6 kB / 0.7937 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.007702, allocations: 15.88 kB / 0.7937 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.007807, allocations: 167.8 kB / 0.7939 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.007861, allocations: 269.5 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.464e-05/0.007916, allocations: 264.1 kB / 0.7944 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-05/0.00797, allocations: 272.1 kB / 0.7947 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.008128, allocations: 499.8 kB / 0.7951 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/0.008159, allocations: 145.5 kB / 0.7953 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.008193, allocations: 153.4 kB / 0.7954 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.786e-05/0.008251, allocations: 272 kB / 0.7957 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.008312, allocations: 264.6 kB / 0.7959 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.615e-05/0.008368, allocations: 272.8 kB / 0.7962 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-05/0.008426, allocations: 268.1 kB / 0.7965 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.008549, allocations: 445.1 kB / 0.7969 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.008586, allocations: 152.8 kB / 0.797 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.008653, allocations: 276.1 kB / 0.7973 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.008758, allocations: 154 kB / 0.7974 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.008819, allocations: 268 kB / 0.7977 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.008847, allocations: 144.9 kB / 0.7978 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.008888, allocations: 127.8 kB / 0.798 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008888, allocations: 4 kB / 0.798 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001681/0.009056, allocations: 21.28 kB / 0.798 GB, free: 0.9219 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.0001542/0.00921, allocations: 234.3 kB / 0.7982 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.009284, allocations: 23.34 kB / 0.7982 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009286, allocations: 0 / 0.7982 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.009287, allocations: 0 / 0.7982 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.009634, allocations: 0.7157 MB / 0.7989 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.01006, allocations: 233.8 kB / 0.7991 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.01009, allocations: 51.36 kB / 0.7992 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.01013, allocations: 9.969 kB / 0.7992 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.01015, allocations: 16.48 kB / 0.7992 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of SimCode: time 1.011e-06/0.01015, allocations: 1.125 kB / 0.7992 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.002656/0.0128, allocations: 0.6768 MB / 0.7999 GB, free: 14.93 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.16885275579989]