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.0007678/0.0007678, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007839/0.0007839, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8704/0.8704, allocations: 177.2 MB / 203.5 MB, free: 5.746 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 1.808/1.808, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.954e-05, allocations: 5.094 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001832/0.001862, allocations: 1.432 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.002266, allocations: 212.1 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.002296, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.002324, allocations: 7.938 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.002366, allocations: 3.984 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.002584, allocations: 19.86 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.002654, allocations: 35.84 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.002748, allocations: 8 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.002798, allocations: 11.98 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.29e-05/0.002831, allocations: 7.984 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.002845, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.002925, allocations: 35.91 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.002939, allocations: 4 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.002958, allocations: 11.92 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003079, allocations: 35.89 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.003083, allocations: 8 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.184e-06/0.003085, allocations: 7.984 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003089, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 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.0003502/0.003439, allocations: 262.3 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.003479, allocations: 9.344 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.003612, allocations: 8.938 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.003686, allocations: 105.8 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003696, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.003704, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.003833, allocations: 58.17 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.003839, allocations: 4.188 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.003849, allocations: 384 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.003854, allocations: 8.359 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.003942, allocations: 31.91 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004209, allocations: 196.6 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.004295, allocations: 34.55 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.004344, allocations: 32.84 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.004359, allocations: 3.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.004376, allocations: 30.56 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004377, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.004601, allocations: 85.58 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.004632, allocations: 51.41 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.004689, allocations: 105.8 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.004699, allocations: 25.7 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.004732, allocations: 84.27 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.004749, allocations: 11.83 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.004774, allocations: 17.72 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.004849, allocations: 314.8 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.004896, allocations: 23.92 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.00493, allocations: 11.98 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.005009, allocations: 44.88 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005011, allocations: 0 / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.005113, allocations: 57.67 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005125, allocations: 8 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.005132, allocations: 7.922 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005145, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.0052, allocations: 8 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005205, allocations: 0 / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.005231, allocations: 16.02 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.005239, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 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.215e-05/0.005292, allocations: 109.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.005305, allocations: 7.953 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.005464, allocations: 80.89 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005466, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.00547, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005473, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.005561, allocations: 105.3 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005562, allocations: 0 / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.005591, allocations: 11.98 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005594, allocations: 0 / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.0056, allocations: 0 / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.005603, allocations: 7.938 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005604, allocations: 3.938 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.005734, allocations: 163.5 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.005739, allocations: 8 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005749, allocations: 0 / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.00579, allocations: 15.92 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.005823, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005826, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.005854, allocations: 83.27 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005854, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001426/0.005996, allocations: 8 kB / 1.005 GB, free: 8.715 MB / 0.9636 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 8.183e-05/0.006078, allocations: 91.67 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.006211, allocations: 47.89 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006212, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.006255, allocations: 19.98 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.006472, allocations: 6 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.00675, allocations: 154.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.006791, allocations: 63.34 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.006819, allocations: 12.56 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.00682, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of Templates: time 0.001505/0.008325, allocations: 0.5984 MB / 1.006 GB, free: 7.676 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.469008517451584]