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.001041/0.001041, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001737/0.001737, allocations: 168.1 kB / 24.86 MB, free: 9.227 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.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.799/1.799, allocations: 359 MB / 0.6063 GB, free: 10.91 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.433e-06/1.433e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.551e-05, allocations: 3.125 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004537/0.004562, allocations: 4.155 MB / 0.7923 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.004706, allocations: 160.9 kB / 0.7925 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.004734, allocations: 4 kB / 0.7925 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.9e-05/0.004833, allocations: 3.938 kB / 0.7925 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.004903, allocations: 9.578 kB / 0.7925 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.005165, allocations: 89.41 kB / 0.7926 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.005232, allocations: 39.78 kB / 0.7926 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.005276, allocations: 7.984 kB / 0.7926 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.005324, allocations: 15.97 kB / 0.7926 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.005389, allocations: 18.39 kB / 0.7927 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.005401, allocations: 0 / 0.7927 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.005551, allocations: 55.88 kB / 0.7927 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.005597, allocations: 7.922 kB / 0.7927 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.005614, allocations: 8 kB / 0.7927 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.005729, allocations: 67.8 kB / 0.7928 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005732, allocations: 0 / 0.7928 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005733, allocations: 0.625 kB / 0.7928 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005738, allocations: 1.656 kB / 0.7928 GB, free: 7.621 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.0003382/0.006076, allocations: 360.3 kB / 0.7931 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.006113, allocations: 8.031 kB / 0.7931 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.006149, allocations: 13.17 kB / 0.7932 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.006232, allocations: 106.4 kB / 0.7933 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.006288, allocations: 55.97 kB / 0.7933 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.006296, allocations: 384 / 0.7933 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006405, allocations: 80.59 kB / 0.7934 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006412, allocations: 0.8438 kB / 0.7934 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.006421, allocations: 7.938 kB / 0.7934 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.006445, allocations: 4.859 kB / 0.7934 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.006465, allocations: 4 kB / 0.7934 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006766, allocations: 242.4 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.515e-05/0.006801, allocations: 27 kB / 0.7937 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.006814, allocations: 11.75 kB / 0.7937 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.00686, allocations: 7.984 kB / 0.7937 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.006887, allocations: 47.52 kB / 0.7937 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.006888, allocations: 0 / 0.7937 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.007002, allocations: 29.7 kB / 0.7938 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.00703, allocations: 51.41 kB / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.007105, allocations: 165.9 kB / 0.794 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.007116, allocations: 26.23 kB / 0.794 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.007167, allocations: 134.8 kB / 0.7941 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.007171, allocations: 4.672 kB / 0.7941 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.007198, allocations: 31.3 kB / 0.7941 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.007314, allocations: 496.7 kB / 0.7946 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-06/0.007322, allocations: 1.625 kB / 0.7946 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.007343, allocations: 23.36 kB / 0.7946 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.007371, allocations: 23.36 kB / 0.7947 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007373, allocations: 0.5312 kB / 0.7947 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.221e-05/0.007435, allocations: 50.89 kB / 0.7947 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007448, allocations: 8 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007453, allocations: 1.156 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.007461, allocations: 0 / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.007493, allocations: 7.984 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.007496, allocations: 4 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.007509, allocations: 1.375 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007517, allocations: 4 kB / 0.7947 GB, free: 5.406 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 6.441e-05/0.007582, allocations: 156.6 kB / 0.7949 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.007598, allocations: 12.73 kB / 0.7949 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.007689, allocations: 176.5 kB / 0.7951 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.007768, allocations: 264.4 kB / 0.7953 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/0.007826, allocations: 273.3 kB / 0.7956 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/0.007886, allocations: 264.1 kB / 0.7958 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.008054, allocations: 484.5 kB / 0.7963 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.008087, allocations: 148.9 kB / 0.7964 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.008118, allocations: 149.5 kB / 0.7966 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.504e-05/0.008173, allocations: 272.8 kB / 0.7968 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.00823, allocations: 268.1 kB / 0.7971 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.276e-05/0.008293, allocations: 281.6 kB / 0.7974 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.09e-05/0.008354, allocations: 264.1 kB / 0.7976 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.008481, allocations: 440 kB / 0.798 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.008541, allocations: 152.9 kB / 0.7982 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.008606, allocations: 276 kB / 0.7984 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.008708, allocations: 153.7 kB / 0.7986 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.008771, allocations: 264.1 kB / 0.7988 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.008803, allocations: 152.3 kB / 0.799 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.008882, allocations: 131.2 kB / 0.7991 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008882, allocations: 0 / 0.7991 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001701/0.009052, allocations: 15.94 kB / 0.7991 GB, free: 0.7344 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.0001645/0.009216, allocations: 234.4 kB / 0.7994 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.009283, allocations: 19.67 kB / 0.7994 GB, free: 484 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009285, allocations: 3.938 kB / 0.7994 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.009286, allocations: 0.5 kB / 0.7994 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.009641, allocations: 0.7132 MB / 0.8001 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01001, allocations: 230.4 kB / 0.8003 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.01004, allocations: 55.34 kB / 0.8003 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.01007, allocations: 11.41 kB / 0.8004 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.01013, allocations: 90.11 kB / 0.8004 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.01013, allocations: 0 / 0.8004 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of Templates: time 0.002395/0.01253, allocations: 0.7455 MB / 0.8012 GB, free: 14.61 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.231246046721935]