Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001257/0.001257, allocations: 83.59 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.001156/0.001156, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9659/0.9659, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.786/1.786, 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.418e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1171/0.1171, allocations: 131.1 MB / 0.9151 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.1172, allocations: 47.8 kB / 0.9152 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.1173, allocations: 4 kB / 0.9152 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1174, allocations: 3.938 kB / 0.9152 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.1175, allocations: 19.91 kB / 0.9152 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.1183, allocations: 254.8 kB / 0.9154 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.1184, allocations: 35.86 kB / 0.9155 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1184, allocations: 3.984 kB / 0.9155 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.1185, allocations: 23.92 kB / 0.9155 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.1186, allocations: 7.984 kB / 0.9155 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1186, allocations: 7.984 kB / 0.9155 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.1189, allocations: 179.4 kB / 0.9157 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.119, allocations: 8 kB / 0.9157 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.119, allocations: 4 kB / 0.9157 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1193, allocations: 179.5 kB / 0.9159 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1193, allocations: 0 / 0.9159 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1193, allocations: 4 kB / 0.9159 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1193, allocations: 0 / 0.9159 GB, free: 8.188 MB / 0.8698 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.0004052/0.1197, allocations: 391.9 kB / 0.9163 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1197, allocations: 12.03 kB / 0.9163 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1198, allocations: 1.281 kB / 0.9163 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.1199, allocations: 116.6 kB / 0.9164 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.1199, allocations: 55.95 kB / 0.9164 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.12, allocations: 4.375 kB / 0.9164 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1201, allocations: 76.41 kB / 0.9165 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1201, allocations: 0 / 0.9165 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1201, allocations: 11.98 kB / 0.9165 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1201, allocations: 0 / 0.9165 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.1202, allocations: 11.98 kB / 0.9165 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1207, allocations: 307.7 kB / 0.9168 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.1207, allocations: 31 kB / 0.9169 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.1208, allocations: 7.688 kB / 0.9169 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.1208, allocations: 28.05 kB / 0.9169 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.1211, allocations: 41.39 kB / 0.9169 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1211, allocations: 4 kB / 0.9169 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.1213, allocations: 37.62 kB / 0.917 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1213, allocations: 51.41 kB / 0.917 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.1214, allocations: 161.9 kB / 0.9172 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1214, allocations: 29.69 kB / 0.9172 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1214, allocations: 130.8 kB / 0.9173 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.341e-06/0.1214, allocations: 7.953 kB / 0.9173 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1215, allocations: 23.38 kB / 0.9174 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1216, allocations: 492.1 kB / 0.9178 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1216, allocations: 3.984 kB / 0.9178 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.1216, allocations: 23.5 kB / 0.9178 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.1216, allocations: 31.31 kB / 0.9179 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1216, allocations: 7.875 kB / 0.9179 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.135e-05/0.1217, allocations: 49.69 kB / 0.9179 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1217, allocations: 7.938 kB / 0.9179 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1217, allocations: 0 / 0.9179 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1217, allocations: 4 kB / 0.9179 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.1218, allocations: 4 kB / 0.9179 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1218, allocations: 4.062 kB / 0.918 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.1218, allocations: 3.938 kB / 0.918 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1218, allocations: 7.984 kB / 0.918 GB, free: 5.812 MB / 0.8698 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.838e-05/0.1219, allocations: 156.5 kB / 0.9181 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1219, allocations: 4 kB / 0.9181 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.122, allocations: 167.7 kB / 0.9183 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-05/0.1221, allocations: 272 kB / 0.9185 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-05/0.1221, allocations: 264.1 kB / 0.9188 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.918e-05/0.1222, allocations: 272 kB / 0.919 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1224, allocations: 0.4921 MB / 0.9195 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/0.1224, allocations: 148.8 kB / 0.9197 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1224, allocations: 149 kB / 0.9198 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-05/0.1225, allocations: 272.1 kB / 0.9201 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.1225, allocations: 272 kB / 0.9203 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.643e-05/0.1226, allocations: 264.1 kB / 0.9206 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-05/0.1227, allocations: 276 kB / 0.9208 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1228, allocations: 436 kB / 0.9213 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.1228, allocations: 160.8 kB / 0.9214 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.1229, allocations: 268.1 kB / 0.9217 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.123, allocations: 152.8 kB / 0.9218 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1231, allocations: 268.1 kB / 0.9221 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.1231, allocations: 144.9 kB / 0.9222 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.1232, allocations: 139.2 kB / 0.9223 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1232, allocations: 0 / 0.9223 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002305/0.1234, allocations: 51.75 kB / 0.9224 GB, free: 1.082 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.0002707/0.1237, allocations: 310.3 kB / 0.9227 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.699e-05/0.1237, allocations: 19.67 kB / 0.9227 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1237, allocations: 0 / 0.9227 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1237, allocations: 0 / 0.9227 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1241, allocations: 0.7139 MB / 0.9234 GB, free: 28 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1245, allocations: 237.2 kB / 0.9236 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.1245, allocations: 55.47 kB / 0.9237 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.1246, allocations: 8 kB / 0.9237 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.1246, allocations: 12.5 kB / 0.9237 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of SimCode: time 6.91e-07/0.1246, allocations: 0 / 0.9237 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.003467/0.128, allocations: 1.497 MB / 0.9252 GB, free: 14.19 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.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.09805525187403]