Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0009204/0.0009204, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.000917/0.000917, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.137/2.137, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.984 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.48e-05, allocations: 3.516 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001961/0.001985, allocations: 1.472 MB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.002363, allocations: 226.2 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.002391, allocations: 0.6562 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.002421, allocations: 3.984 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.002463, allocations: 4.922 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.002667, allocations: 33.38 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.002724, allocations: 19.92 kB / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.002806, allocations: 8 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.002851, allocations: 11.98 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.002883, allocations: 13.39 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.002898, allocations: 4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.002974, allocations: 27.97 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.002987, allocations: 4 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.003005, allocations: 11.08 kB / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003125, allocations: 43.83 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003127, allocations: 3.938 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003128, allocations: 0 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003132, allocations: 0 / 0.88 GB, free: 4.453 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.0003163/0.003448, allocations: 360.6 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.003484, allocations: 12.03 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.003623, allocations: 17.44 kB / 0.8803 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.003697, allocations: 116.6 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.003707, allocations: 2.031 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003717, allocations: 384 / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.003819, allocations: 50.95 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.003829, allocations: 4.172 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003838, allocations: 1.719 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.003846, allocations: 4.359 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.003877, allocations: 11.88 kB / 0.8805 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.004144, allocations: 247.8 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.004191, allocations: 39.09 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.004211, allocations: 11.69 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.004226, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004245, allocations: 37.45 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004245, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.004372, allocations: 45.53 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.004398, allocations: 55.39 kB / 0.8809 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.004461, allocations: 157.9 kB / 0.8811 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.004469, allocations: 25.7 kB / 0.8811 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.004505, allocations: 135 kB / 0.8812 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.004521, allocations: 7.953 kB / 0.8813 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.004546, allocations: 23.36 kB / 0.8813 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004648, allocations: 492.1 kB / 0.8817 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.00466, allocations: 0 / 0.8817 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.00467, allocations: 8 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.004695, allocations: 11.69 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004696, allocations: 7.875 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.679e-05/0.004743, allocations: 37.69 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004753, allocations: 10.12 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.004758, allocations: 3.938 kB / 0.8818 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.004771, allocations: 4 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.004826, allocations: 8 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.004832, allocations: 0 / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.00485, allocations: 7.984 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.004854, allocations: 0 / 0.8818 GB, free: 2.332 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 5.532e-05/0.00491, allocations: 152.6 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.004924, allocations: 4 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.005011, allocations: 56.88 kB / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005013, allocations: 0 / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.005017, allocations: 4 kB / 0.882 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.00502, allocations: 3.984 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.18e-05/0.005102, allocations: 112.6 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005102, allocations: 0 / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.005127, allocations: 11.98 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005129, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.005135, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005137, allocations: 3.938 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005138, allocations: 0 / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.005221, allocations: 203.8 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-06/0.005224, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.005233, allocations: 288 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.005266, allocations: 11.94 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.005299, allocations: 3.984 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005301, allocations: 0 / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.005333, allocations: 127.2 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.005333, allocations: 0 / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001352/0.005468, allocations: 8 kB / 0.8825 GB, free: 1.57 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 (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 Backend phase and start with SimCode phase: time 6.399e-05/0.005532, allocations: 99.23 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.005603, allocations: 23.69 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005604, allocations: 0 / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.005623, allocations: 15.62 kB / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.005797, allocations: 9.859 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.006182, allocations: 130.3 kB / 0.8828 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.006214, allocations: 55.34 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.006233, allocations: 8.062 kB / 0.8828 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.00626, allocations: 12.5 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.00626, allocations: 0 / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Templates: time 0.001948/0.008208, allocations: 0.6479 MB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.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.563299504108727]