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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001072/0.001072, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9591/0.9591, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.785/1.785, allocations: 359 MB / 0.6052 GB, free: 10.98 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.192e-06/1.192e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.075e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00466/0.00468, allocations: 4.165 MB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.004845, allocations: 165 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.004867, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.004967, allocations: 3.938 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.005039, allocations: 16.5 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.005329, allocations: 84.91 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.005397, allocations: 32.44 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.005429, allocations: 8.766 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.005479, allocations: 19.92 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.005539, allocations: 13.14 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.005551, allocations: 0 / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.005719, allocations: 67.73 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.005759, allocations: 5.359 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.005777, allocations: 4 kB / 0.7915 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.005898, allocations: 71.75 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005901, allocations: 3.984 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005902, allocations: 1.875 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005906, allocations: 0 / 0.7916 GB, free: 7.863 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.0002965/0.006203, allocations: 356.3 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.006234, allocations: 12.03 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.006272, allocations: 6.734 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.006343, allocations: 112.6 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.0064, allocations: 51.97 kB / 0.7921 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.00641, allocations: 4.359 kB / 0.7921 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.00652, allocations: 81.19 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.006526, allocations: 6.125 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006536, allocations: 7.875 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.006558, allocations: 4 kB / 0.7922 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.006582, allocations: 7.984 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.006908, allocations: 255.8 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.006941, allocations: 25.62 kB / 0.7925 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.006954, allocations: 11.62 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.006996, allocations: 12.05 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.007017, allocations: 37.33 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.007018, allocations: 0 / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001059/0.007124, allocations: 38.23 kB / 0.7926 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.00715, allocations: 52.12 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.00722, allocations: 161.9 kB / 0.7928 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007232, allocations: 30.23 kB / 0.7928 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.007278, allocations: 134.8 kB / 0.793 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.007283, allocations: 5.578 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.00731, allocations: 27.36 kB / 0.793 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007423, allocations: 492.1 kB / 0.7935 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.007432, allocations: 4 kB / 0.7935 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.007452, allocations: 24.22 kB / 0.7935 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.007484, allocations: 32.08 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007486, allocations: 0 / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.074e-05/0.007547, allocations: 54.7 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007558, allocations: 4 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007562, allocations: 0.8438 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.007572, allocations: 0 / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.007607, allocations: 13.42 kB / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.00761, allocations: 0 / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.007623, allocations: 0 / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.00763, allocations: 0 / 0.7936 GB, free: 5.617 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.81e-05/0.007688, allocations: 157.7 kB / 0.7937 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.007704, allocations: 7.891 kB / 0.7937 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.007808, allocations: 177.7 kB / 0.7939 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/0.007872, allocations: 268.1 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.007929, allocations: 268 kB / 0.7944 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003138/0.008243, allocations: 264.1 kB / 0.7947 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.008396, allocations: 499.9 kB / 0.7951 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.008426, allocations: 155.2 kB / 0.7953 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.008458, allocations: 144.9 kB / 0.7954 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.422e-05/0.008513, allocations: 272.2 kB / 0.7957 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.008575, allocations: 272.1 kB / 0.796 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.008626, allocations: 268.1 kB / 0.7962 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.273e-05/0.008679, allocations: 268 kB / 0.7965 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.008793, allocations: 449.3 kB / 0.7969 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.008832, allocations: 152.8 kB / 0.797 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.008899, allocations: 276.1 kB / 0.7973 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.008993, allocations: 154.7 kB / 0.7974 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.009049, allocations: 272.1 kB / 0.7977 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.009079, allocations: 148.8 kB / 0.7978 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.009117, allocations: 127.2 kB / 0.798 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009117, allocations: 0 / 0.798 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001585/0.009276, allocations: 17.12 kB / 0.798 GB, free: 0.918 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.0001378/0.009414, allocations: 238.3 kB / 0.7982 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.009474, allocations: 16.78 kB / 0.7982 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009476, allocations: 3.938 kB / 0.7982 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.009477, allocations: 0.6562 kB / 0.7982 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.0098, allocations: 0.7147 MB / 0.7989 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.01016, allocations: 228.9 kB / 0.7992 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.01019, allocations: 55.34 kB / 0.7992 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.01022, allocations: 4 kB / 0.7992 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.01024, allocations: 8.5 kB / 0.7992 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.01024, allocations: 0 / 0.7992 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of Templates: time 0.002202/0.01244, allocations: 0.7434 MB / 0.7999 GB, free: 14.87 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: 4.8788013039156795]