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.001329/0.001329, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001403/0.001403, allocations: 169.7 kB / 23.28 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.9341/0.9341, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.406/2.406, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.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.114e-06/2.114e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.108e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002518/0.002549, allocations: 1.478 MB / 0.8912 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004945/0.003044, allocations: 215.4 kB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.00309, allocations: 0 / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.003121, allocations: 3.938 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.003172, allocations: 0 / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.003416, allocations: 35.77 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.003483, allocations: 27.86 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.003573, allocations: 4 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.003635, allocations: 11.98 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.003676, allocations: 8 kB / 0.8915 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.003692, allocations: 8 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.003784, allocations: 31.95 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.0038, allocations: 0 / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.003816, allocations: 11.94 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003944, allocations: 39.89 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003947, allocations: 0 / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.764e-06/0.003949, allocations: 0 / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003953, allocations: 0 / 0.8915 GB, free: 7.914 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.0004084/0.004362, allocations: 356.3 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.004413, allocations: 12.03 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.004571, allocations: 20.77 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.426e-05/0.004665, allocations: 116.6 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.00468, allocations: 4.375 kB / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.004688, allocations: 4.359 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.00481, allocations: 50.95 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004819, allocations: 192 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004828, allocations: 384 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.004836, allocations: 384 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.004868, allocations: 15.86 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.005236, allocations: 240.3 kB / 0.8923 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.005286, allocations: 31.06 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.005303, allocations: 15.75 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.00532, allocations: 0 / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005339, allocations: 33.39 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.00534, allocations: 0 / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.00547, allocations: 45.56 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005502, allocations: 55.41 kB / 0.8925 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.005578, allocations: 161.9 kB / 0.8927 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.005589, allocations: 25.7 kB / 0.8927 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.005635, allocations: 130.9 kB / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.005651, allocations: 8.078 kB / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.00568, allocations: 19.38 kB / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.005801, allocations: 492.1 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.005816, allocations: 7.984 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.005823, allocations: 0 / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.005848, allocations: 15.67 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00585, allocations: 0 / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.395e-05/0.005904, allocations: 41.64 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.005917, allocations: 4 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.005923, allocations: 8.094 kB / 0.8934 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005936, allocations: 3.938 kB / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.005999, allocations: 7.984 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006001, allocations: 0 / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.006019, allocations: 4 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.006023, allocations: 0 / 0.8934 GB, free: 5.82 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 6.513e-05/0.006088, allocations: 152.6 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.006109, allocations: 4 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.006214, allocations: 56.88 kB / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006217, allocations: 7.938 kB / 0.8936 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.00622, allocations: 4 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006223, allocations: 0 / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/0.006317, allocations: 101.2 kB / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006319, allocations: 0 / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.006349, allocations: 8 kB / 0.8937 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006351, allocations: 3.938 kB / 0.8937 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.006355, allocations: 0 / 0.8937 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006356, allocations: 0 / 0.8937 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006357, allocations: 0 / 0.8937 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.226e-05/0.006449, allocations: 192.1 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.006456, allocations: 8 kB / 0.8939 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.006463, allocations: 0 / 0.8939 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.006498, allocations: 11.98 kB / 0.8939 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.006526, allocations: 3.938 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.00653, allocations: 3.938 kB / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.006571, allocations: 131.2 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006571, allocations: 0 / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000135/0.006706, allocations: 4 kB / 0.8941 GB, free: 5.078 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 (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 0.0001008/0.006807, allocations: 95.25 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.365e-05/0.00687, allocations: 19.69 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006872, allocations: 0 / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.00689, allocations: 23.67 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.007081, allocations: 7.938 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.00744, allocations: 122.3 kB / 0.8943 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.007473, allocations: 59.28 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.007495, allocations: 8.062 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.007545, allocations: 70.2 kB / 0.8944 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.007546, allocations: 0 / 0.8944 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of Templates: time 0.002628/0.01017, allocations: 0.7116 MB / 0.8951 GB, free: 3.914 MB / 0.8542 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.327147633768618]