Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001048/0.001048, 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.00102/0.00102, allocations: 169 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 0.9588/0.9588, allocations: 177.1 MB / 204.6 MB, free: 5.652 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 1.955/1.955, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.002e-05, allocations: 4.188 kB / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002235/0.002265, allocations: 1.466 MB / 0.8129 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008316/0.003096, allocations: 0.5935 MB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.003129, allocations: 1.188 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.003157, allocations: 3.938 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.003219, allocations: 17.5 kB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.003594, allocations: 91.52 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.003665, allocations: 31.86 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.003751, allocations: 2.562 kB / 0.8137 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.003805, allocations: 19.97 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.003848, allocations: 3.984 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.003864, allocations: 4 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.004088, allocations: 143.7 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.004101, allocations: 0 / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.004124, allocations: 11.98 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.004471, allocations: 116.3 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004474, allocations: 0.5312 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004474, allocations: 0 / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004478, allocations: 1.656 kB / 0.8139 GB, free: 15.63 MB / 0.7761 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.0003715/0.00485, allocations: 380.3 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00489, allocations: 16.02 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.005253, allocations: 34.59 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.005345, allocations: 108.6 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.005356, allocations: 1.531 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.005366, allocations: 384 / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.00553, allocations: 76.23 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005537, allocations: 192 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.005549, allocations: 384 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005556, allocations: 384 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.005613, allocations: 25.61 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.005972, allocations: 271.7 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.362e-05/0.006066, allocations: 44.17 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.006105, allocations: 16.5 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.006121, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.006144, allocations: 37.98 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.006146, allocations: 0 / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.006354, allocations: 68.36 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.006383, allocations: 51.41 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.006464, allocations: 161.9 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006477, allocations: 25.7 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.006519, allocations: 126.9 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.006538, allocations: 7.953 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.006578, allocations: 24.02 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006689, allocations: 498.6 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.006714, allocations: 4 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.006733, allocations: 7.984 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.006777, allocations: 27.62 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006779, allocations: 1.844 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.025e-05/0.006859, allocations: 57.62 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006871, allocations: 4 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.006878, allocations: 11.92 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.00689, allocations: 0.5312 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.006965, allocations: 8.547 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.00697, allocations: 1.812 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.006999, allocations: 4 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.007008, allocations: 4 kB / 0.816 GB, free: 13.37 MB / 0.7761 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.171e-05/0.00707, allocations: 160.6 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.007086, allocations: 0.6562 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.007117, allocations: 14.94 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007118, allocations: 3.938 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.007121, allocations: 3.938 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007123, allocations: 192 / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.007216, allocations: 120.6 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007217, allocations: 0 / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.007253, allocations: 15.97 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007254, allocations: 0 / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.007261, allocations: 1.938 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007264, allocations: 3.938 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007265, allocations: 4 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.00738, allocations: 199.9 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.007387, allocations: 4.922 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007399, allocations: 4 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.007441, allocations: 9.031 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.007472, allocations: 7.984 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.007475, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.007507, allocations: 124.3 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007507, allocations: 3.938 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001559/0.007663, allocations: 19.92 kB / 0.8166 GB, free: 12.63 MB / 0.7761 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.0001256/0.007789, allocations: 104.3 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.007883, allocations: 36.47 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007884, allocations: 1.375 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.007912, allocations: 15.69 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.0081, allocations: 20 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.008521, allocations: 127.7 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.008553, allocations: 59.22 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.271e-05/0.008596, allocations: 8.938 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.008626, allocations: 13.08 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.008627, allocations: 0 / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.002657/0.01128, allocations: 0.9497 MB / 0.8179 GB, free: 11.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.105586688965559]