Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009984/0.0009984, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001161/0.001161, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.175e-05, allocations: 3.828 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1378/0.1378, allocations: 130.9 MB / 0.9393 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.138, allocations: 47.8 kB / 0.9393 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.1381, allocations: 0 / 0.9393 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1382, allocations: 11.94 kB / 0.9393 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.1383, allocations: 15.91 kB / 0.9394 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.1392, allocations: 242.8 kB / 0.9396 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1393, allocations: 35.86 kB / 0.9396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.1394, allocations: 11.97 kB / 0.9396 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.1394, allocations: 19.92 kB / 0.9397 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.1395, allocations: 11.94 kB / 0.9397 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1395, allocations: 0 / 0.9397 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1399, allocations: 183.4 kB / 0.9398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.1399, allocations: 4 kB / 0.9398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.14, allocations: 11.98 kB / 0.9399 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1403, allocations: 175.5 kB / 0.94 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1403, allocations: 0 / 0.94 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1403, allocations: 0 / 0.94 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1403, allocations: 4 kB / 0.94 GB, free: 14.06 MB / 0.9011 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.0004515/0.1408, allocations: 384 kB / 0.9404 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1408, allocations: 12.03 kB / 0.9404 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.1409, allocations: 1.281 kB / 0.9404 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.141, allocations: 112.6 kB / 0.9405 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.1411, allocations: 51.97 kB / 0.9406 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1411, allocations: 16.28 kB / 0.9406 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1412, allocations: 84.39 kB / 0.9407 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1412, allocations: 0 / 0.9407 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1412, allocations: 4 kB / 0.9407 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.1413, allocations: 4 kB / 0.9407 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.1413, allocations: 7.938 kB / 0.9407 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.1419, allocations: 307.7 kB / 0.941 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.1419, allocations: 34.94 kB / 0.941 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.142, allocations: 7.688 kB / 0.941 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.142, allocations: 32.03 kB / 0.941 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1421, allocations: 41.39 kB / 0.9411 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.1421, allocations: 0 / 0.9411 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.1422, allocations: 37.69 kB / 0.9411 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1423, allocations: 55.34 kB / 0.9412 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.1423, allocations: 161.9 kB / 0.9413 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1424, allocations: 25.7 kB / 0.9414 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1424, allocations: 134.8 kB / 0.9415 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.1424, allocations: 3.953 kB / 0.9415 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1425, allocations: 23.38 kB / 0.9415 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1426, allocations: 496.1 kB / 0.942 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.1426, allocations: 0 / 0.942 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.1426, allocations: 23.36 kB / 0.942 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.1427, allocations: 31.5 kB / 0.942 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1427, allocations: 3.938 kB / 0.942 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.245e-05/0.1427, allocations: 49.62 kB / 0.9421 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1428, allocations: 6.656 kB / 0.9421 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1428, allocations: 0 / 0.9421 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1428, allocations: 4 kB / 0.9421 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.1428, allocations: 4 kB / 0.9421 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1428, allocations: 0 / 0.9421 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.1429, allocations: 8 kB / 0.9421 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1429, allocations: 4 kB / 0.9421 GB, free: 11.7 MB / 0.9011 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 7.362e-05/0.1429, allocations: 160.5 kB / 0.9423 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.143, allocations: 11.94 kB / 0.9423 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1431, allocations: 167.7 kB / 0.9424 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/0.1432, allocations: 264.1 kB / 0.9427 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.205e-05/0.1432, allocations: 268 kB / 0.9429 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-05/0.1433, allocations: 276.1 kB / 0.9432 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1435, allocations: 0.492 MB / 0.9437 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/0.1436, allocations: 152.8 kB / 0.9438 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1436, allocations: 152.8 kB / 0.944 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/0.1437, allocations: 268.1 kB / 0.9442 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.1437, allocations: 272.1 kB / 0.9445 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.861e-05/0.1438, allocations: 268 kB / 0.9447 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.995e-05/0.1439, allocations: 268.4 kB / 0.945 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1441, allocations: 444 kB / 0.9454 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1442, allocations: 156.8 kB / 0.9456 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.1443, allocations: 272 kB / 0.9458 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1444, allocations: 152.9 kB / 0.946 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.1445, allocations: 268 kB / 0.9462 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.1445, allocations: 148.9 kB / 0.9464 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.1445, allocations: 131.2 kB / 0.9465 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1445, allocations: 0 / 0.9465 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003053/0.1448, allocations: 55.75 kB / 0.9466 GB, free: 6.938 MB / 0.9011 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.0003127/0.1452, allocations: 298.2 kB / 0.9468 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.1452, allocations: 15.62 kB / 0.9469 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1452, allocations: 0 / 0.9469 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1452, allocations: 0 / 0.9469 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1456, allocations: 0.7217 MB / 0.9476 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1461, allocations: 237 kB / 0.9478 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.1462, allocations: 51.48 kB / 0.9478 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.1462, allocations: 11.98 kB / 0.9478 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1462, allocations: 12.5 kB / 0.9479 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of SimCode: time 7.72e-07/0.1462, allocations: 0 / 0.9479 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of Templates: time 0.003735/0.1499, allocations: 1.377 MB / 0.9492 GB, free: 4.176 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.40766132180579]