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.0009132/0.0009132, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009578/0.0009578, allocations: 165.4 kB / 23.27 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.9303/0.9303, allocations: 177.2 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.32/2.32, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.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.382e-06/1.382e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.367e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002068/0.002092, allocations: 1.485 MB / 0.8912 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.002869, allocations: 0.5919 MB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.002896, allocations: 0 / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002921, allocations: 0 / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.002979, allocations: 0 / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.003313, allocations: 103.4 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.003372, allocations: 27.86 kB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.00345, allocations: 11.98 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.003501, allocations: 11.98 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.003543, allocations: 11.98 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003556, allocations: 4 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.003755, allocations: 139.7 kB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.00377, allocations: 4 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.003785, allocations: 4 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.003975, allocations: 123.6 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003977, allocations: 0 / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003978, allocations: 0 / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003982, allocations: 0 / 0.8922 GB, free: 7.262 MB / 0.8542 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.0003214/0.004303, allocations: 376 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.004342, allocations: 12.62 kB / 0.8925 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.004606, allocations: 36.84 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.517e-05/0.004671, allocations: 112.6 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.00468, allocations: 384 / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.004686, allocations: 384 / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.004806, allocations: 70.86 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.004812, allocations: 4.188 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.004819, allocations: 384 / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004823, allocations: 384 / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.004853, allocations: 15.92 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.005121, allocations: 260.3 kB / 0.893 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.005186, allocations: 39.09 kB / 0.8931 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.005208, allocations: 27.67 kB / 0.8931 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.005224, allocations: 0 / 0.8931 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.005241, allocations: 33.39 kB / 0.8931 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005242, allocations: 3.938 kB / 0.8931 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.005379, allocations: 61.61 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.005405, allocations: 51.41 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.005466, allocations: 157.9 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.005476, allocations: 25.7 kB / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.005515, allocations: 135 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.005532, allocations: 7.953 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.005562, allocations: 23.38 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005672, allocations: 0.4884 MB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.005693, allocations: 7.938 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.005707, allocations: 4 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.005747, allocations: 23.67 kB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.005748, allocations: 0 / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.304e-05/0.005821, allocations: 49.75 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.005838, allocations: 8 kB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005842, allocations: 0 / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005853, allocations: 3.938 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.005923, allocations: 7.984 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005926, allocations: 3.938 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.005953, allocations: 7.984 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.005959, allocations: 4 kB / 0.8942 GB, free: 5.027 MB / 0.8542 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 5.943e-05/0.006019, allocations: 152.6 kB / 0.8943 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.006035, allocations: 7.984 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.006067, allocations: 7.312 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006069, allocations: 3.938 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006073, allocations: 7.984 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006076, allocations: 192 / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.584e-05/0.006172, allocations: 101.3 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006173, allocations: 0 / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.006208, allocations: 11.98 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006211, allocations: 7.984 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006218, allocations: 3.984 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.006218, allocations: 0 / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006219, allocations: 0 / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.006333, allocations: 199.8 kB / 0.8946 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.006338, allocations: 7.938 kB / 0.8946 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006348, allocations: 3.984 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.006391, allocations: 4 kB / 0.8946 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.006413, allocations: 0 / 0.8946 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006419, allocations: 11.95 kB / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.006451, allocations: 127.2 kB / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006451, allocations: 0 / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001515/0.006603, allocations: 15.94 kB / 0.8948 GB, free: 4.309 MB / 0.8542 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.0003183/0.006921, allocations: 111.2 kB / 0.8949 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.006992, allocations: 27.67 kB / 0.8949 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006993, allocations: 0 / 0.8949 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.007017, allocations: 27.67 kB / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007186, allocations: 4 kB / 0.895 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.007529, allocations: 122.3 kB / 0.8951 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.007561, allocations: 59.3 kB / 0.8951 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.007603, allocations: 12.05 kB / 0.8951 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.00766, allocations: 74.2 kB / 0.8952 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.00766, allocations: 0 / 0.8952 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of Templates: time 0.002397/0.01006, allocations: 1.058 MB / 0.8962 GB, free: 2.758 MB / 0.8542 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.273236163891852]