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.0009809/0.0009809, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001075/0.001075, allocations: 169 kB / 24.06 MB, free: 456 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.9797/0.9797, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.19/2.19, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 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.422e-06/1.422e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.362e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001814/0.001827, allocations: 1.48 MB / 0.8808 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.002603, allocations: 0.594 MB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.002633, allocations: 1.031 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.002665, allocations: 3.984 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.002723, allocations: 8.469 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.003044, allocations: 104.2 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.003099, allocations: 20.91 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.003176, allocations: 11.92 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.003224, allocations: 8.812 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.003267, allocations: 15.92 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.00328, allocations: 4 kB / 0.8816 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.003461, allocations: 136.9 kB / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.003476, allocations: 3.938 kB / 0.8817 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.003493, allocations: 15.97 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.003673, allocations: 104.6 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003676, allocations: 4 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003677, allocations: 1.094 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.003681, allocations: 0 / 0.8818 GB, free: 3.562 MB / 0.8386 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.0003423/0.004024, allocations: 389.1 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.00406, allocations: 12.03 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.004334, allocations: 33.33 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.004423, allocations: 108.6 kB / 0.8823 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004435, allocations: 4.375 kB / 0.8823 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.004445, allocations: 4.312 kB / 0.8823 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.004579, allocations: 62.92 kB / 0.8824 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004591, allocations: 192 / 0.8824 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.004601, allocations: 4.359 kB / 0.8824 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004606, allocations: 4.375 kB / 0.8824 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.004643, allocations: 16.55 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.004939, allocations: 248.9 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.00502, allocations: 48.52 kB / 0.8827 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.005043, allocations: 19.75 kB / 0.8827 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.005057, allocations: 0 / 0.8827 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.005078, allocations: 33.39 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005078, allocations: 0 / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.005236, allocations: 61.56 kB / 0.8828 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.005267, allocations: 51.41 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.005337, allocations: 169.8 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.00535, allocations: 25.7 kB / 0.8831 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.005574, allocations: 126.9 kB / 0.8832 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.005594, allocations: 12.08 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.005626, allocations: 23.34 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.005734, allocations: 496.1 kB / 0.8837 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.005751, allocations: 4 kB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.005766, allocations: 7.984 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.005802, allocations: 19.69 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005804, allocations: 3.938 kB / 0.8837 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.936e-05/0.005873, allocations: 45.78 kB / 0.8838 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005886, allocations: 11.98 kB / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00589, allocations: 3.938 kB / 0.8838 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.0059, allocations: 7.938 kB / 0.8838 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.005964, allocations: 7.984 kB / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.005966, allocations: 0 / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.005996, allocations: 4 kB / 0.8838 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006001, allocations: 0 / 0.8838 GB, free: 1.34 MB / 0.8386 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.017e-05/0.006061, allocations: 160.6 kB / 0.8839 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.006078, allocations: 0 / 0.8839 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.006106, allocations: 15.3 kB / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006108, allocations: 7.938 kB / 0.884 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.00611, allocations: 0 / 0.884 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.006112, allocations: 0 / 0.884 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.006205, allocations: 113.4 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006206, allocations: 0 / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.006242, allocations: 11.98 kB / 0.8841 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006244, allocations: 3.984 kB / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.00625, allocations: 4 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00625, allocations: 0 / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006251, allocations: 0 / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006361, allocations: 195.8 kB / 0.8843 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006368, allocations: 7.984 kB / 0.8843 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.006377, allocations: 0 / 0.8843 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.006421, allocations: 8 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.006444, allocations: 0 / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.006449, allocations: 7.922 kB / 0.8843 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.006488, allocations: 127.2 kB / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006488, allocations: 0 / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001581/0.006646, allocations: 15.94 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 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.000106/0.006752, allocations: 107.2 kB / 0.8845 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.006827, allocations: 23.67 kB / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006828, allocations: 4 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.00686, allocations: 23.55 kB / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.007042, allocations: 24.05 kB / 0.8846 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.007399, allocations: 122.3 kB / 0.8847 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.007444, allocations: 59.28 kB / 0.8848 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.007493, allocations: 15.94 kB / 0.8848 GB, free: 184 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.007555, allocations: 82.19 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.007555, allocations: 0 / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of Templates: time 0.00242/0.009976, allocations: 1.052 MB / 0.8859 GB, free: 15.05 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.362237018998712]