Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.00128/0.00128, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001427/0.001427, allocations: 181 kB / 23.35 MB, free: 1.133 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.9101/0.9101, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.276/2.276, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.391e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001562/0.001576, allocations: 1.47 MB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.002275, allocations: 0.6073 MB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.002297, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.002318, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.002364, allocations: 3.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.005715, allocations: 107.4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.005768, allocations: 23.86 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.005828, allocations: 12 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.005869, allocations: 11.98 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.005903, allocations: 7.984 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.005912, allocations: 0 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.00609, allocations: 147.7 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.006102, allocations: 4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.006115, allocations: 4 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.006267, allocations: 111.7 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006269, allocations: 4 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00627, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.006273, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 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.0002499/0.006523, allocations: 256.4 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.006558, allocations: 12.62 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.006778, allocations: 28.89 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.406e-05/0.006842, allocations: 113.7 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.006851, allocations: 4.359 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.006862, allocations: 4.375 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.006968, allocations: 70.92 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.006972, allocations: 192 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.006979, allocations: 384 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.006985, allocations: 8.359 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.007012, allocations: 15.88 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.007218, allocations: 164.2 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.251e-05/0.007271, allocations: 30.52 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.007286, allocations: 16.91 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.007298, allocations: 4 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.007315, allocations: 30.56 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007315, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001006/0.007416, allocations: 41.69 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.007442, allocations: 63.28 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.007487, allocations: 102.7 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.0075, allocations: 25.7 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.007532, allocations: 88.12 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.007553, allocations: 12.08 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007588, allocations: 13.7 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.007675, allocations: 314.8 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.007701, allocations: 4 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.007725, allocations: 7.984 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.00777, allocations: 12.86 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007772, allocations: 0 / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.325e-05/0.007855, allocations: 49.69 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.00787, allocations: 7.984 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.007873, allocations: 4 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.007884, allocations: 0 / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.007978, allocations: 11.92 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.00798, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.008023, allocations: 4 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.00803, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.992e-05/0.0081, allocations: 121.8 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.00813, allocations: 8.016 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.008161, allocations: 3.312 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008164, allocations: 4 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.008167, allocations: 3.938 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.00817, allocations: 0 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.008293, allocations: 65.89 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008294, allocations: 0 / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.008368, allocations: 11.98 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.00837, allocations: 3.938 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.008377, allocations: 4 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.008381, allocations: 3.984 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008383, allocations: 0 / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.008516, allocations: 147.4 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-06/0.008525, allocations: 4.141 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008541, allocations: 7.984 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.008622, allocations: 4 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.008648, allocations: 3.984 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.008656, allocations: 7.984 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.535e-05/0.008671, allocations: 12.83 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008671, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002262/0.008898, allocations: 15.94 kB / 0.8429 GB, free: 9.574 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.0001393/0.009037, allocations: 96.33 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.009122, allocations: 20.84 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.009124, allocations: 3.938 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.009154, allocations: 16.92 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.009345, allocations: 14.05 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.009786, allocations: 112.8 kB / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.009824, allocations: 51.36 kB / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.009893, allocations: 16 kB / 0.8432 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.009972, allocations: 59.36 kB / 0.8432 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.009973, allocations: 0 / 0.8432 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of Templates: time 0.003361/0.01333, allocations: 0.983 MB / 0.8442 GB, free: 8.156 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.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.047926853876561]