Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008976/0.0008976, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009618/0.0009618, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9653/0.9653, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.347/2.347, 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.054e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.13/0.13, allocations: 128.7 MB / 1.015 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.1302, allocations: 47.81 kB / 1.015 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.1302, allocations: 0 / 1.015 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.1304, allocations: 3.938 kB / 1.015 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.1305, allocations: 19.91 kB / 1.015 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1315, allocations: 262.8 kB / 1.016 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.1316, allocations: 31.84 kB / 1.016 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.1316, allocations: 4 kB / 1.016 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.1317, allocations: 15.98 kB / 1.016 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.1318, allocations: 19.91 kB / 1.016 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1318, allocations: 0 / 1.016 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.1321, allocations: 179.4 kB / 1.016 GB, free: 8.035 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.1321, allocations: 11.98 kB / 1.016 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.1321, allocations: 7.984 kB / 1.016 GB, free: 8.016 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1324, allocations: 183.5 kB / 1.016 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1324, allocations: 4 kB / 1.016 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1324, allocations: 0 / 1.016 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1324, allocations: 0 / 1.016 GB, free: 7.832 MB / 0.9792 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.0003523/0.1327, allocations: 384 kB / 1.016 GB, free: 7.422 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1328, allocations: 8.625 kB / 1.016 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1328, allocations: 8.922 kB / 1.017 GB, free: 7.406 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.865e-05/0.1329, allocations: 108.6 kB / 1.017 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.1329, allocations: 51.97 kB / 1.017 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1329, allocations: 4.312 kB / 1.017 GB, free: 7.207 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.133, allocations: 92.34 kB / 1.017 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1331, allocations: 0 / 1.017 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1331, allocations: 3.984 kB / 1.017 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1331, allocations: 0 / 1.017 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.1331, allocations: 11.98 kB / 1.017 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1335, allocations: 288.3 kB / 1.017 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.1335, allocations: 31 kB / 1.017 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.1336, allocations: 15.69 kB / 1.017 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.1336, allocations: 23.98 kB / 1.017 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1336, allocations: 49.38 kB / 1.017 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1336, allocations: 0 / 1.017 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.1337, allocations: 33.7 kB / 1.017 GB, free: 6.594 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.1337, allocations: 51.41 kB / 1.017 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.1338, allocations: 165.9 kB / 1.017 GB, free: 6.352 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1338, allocations: 25.7 kB / 1.017 GB, free: 6.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.1339, allocations: 130.8 kB / 1.018 GB, free: 6.188 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.1339, allocations: 3.938 kB / 1.018 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1339, allocations: 23.33 kB / 1.018 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.134, allocations: 0.4962 MB / 1.018 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.134, allocations: 4.125 kB / 1.018 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.134, allocations: 19.38 kB / 1.018 GB, free: 5.613 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.1341, allocations: 19.38 kB / 1.018 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1341, allocations: 0 / 1.018 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.061e-05/0.1341, allocations: 53.56 kB / 1.018 GB, free: 5.527 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1341, allocations: 8 kB / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1341, allocations: 0 / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1341, allocations: 0 / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.029e-05/0.1342, allocations: 12.05 kB / 1.018 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1342, allocations: 4 kB / 1.018 GB, free: 5.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.1342, allocations: 7.938 kB / 1.018 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1342, allocations: 0 / 1.018 GB, free: 5.496 MB / 0.9792 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.025e-05/0.1343, allocations: 156.6 kB / 1.018 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.1343, allocations: 11.81 kB / 1.018 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.1344, allocations: 163.7 kB / 1.018 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.1344, allocations: 268.1 kB / 1.019 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.411e-05/0.1345, allocations: 272 kB / 1.019 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.1345, allocations: 264.1 kB / 1.019 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1347, allocations: 492.4 kB / 1.02 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.1347, allocations: 144.9 kB / 1.02 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.1347, allocations: 144.9 kB / 1.02 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.1348, allocations: 272 kB / 1.02 GB, free: 3.254 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.1349, allocations: 272 kB / 1.021 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-05/0.1349, allocations: 268 kB / 1.021 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-05/0.135, allocations: 272.1 kB / 1.021 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1351, allocations: 443.9 kB / 1.021 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.1351, allocations: 148.9 kB / 1.022 GB, free: 1.824 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.1352, allocations: 275.9 kB / 1.022 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.1353, allocations: 157.2 kB / 1.022 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1353, allocations: 264.1 kB / 1.022 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.1354, allocations: 148.8 kB / 1.022 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.1354, allocations: 131.2 kB / 1.023 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.399e-06/0.1354, allocations: 0 / 1.023 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001881/0.1356, allocations: 55.75 kB / 1.023 GB, free: 0.7852 MB / 0.9792 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.0003821/0.136, allocations: 298.2 kB / 1.023 GB, free: 492 kB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 5.37e-05/0.136, allocations: 27.92 kB / 1.023 GB, free: 460 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.136, allocations: 0 / 1.023 GB, free: 460 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.136, allocations: 0 / 1.023 GB, free: 460 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1363, allocations: 0.7141 MB / 1.024 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.1367, allocations: 237.4 kB / 1.024 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.1367, allocations: 55.34 kB / 1.024 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.1367, allocations: 11.88 kB / 1.024 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.1368, allocations: 86.17 kB / 1.024 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of SimCode: time 5.52e-07/0.1368, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.003498/0.1403, allocations: 1.432 MB / 1.025 GB, free: 13.88 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.306361016817391]