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.0007938/0.0007938, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001927, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007402/0.0007402, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009207/0.001661, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09381/1.115, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.509/2.509, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.245/2.754, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.543e-06/1.543e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.256e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001582/0.001594, allocations: 1.523 MB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.001844, allocations: 223.3 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.001864, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.001884, allocations: 3.938 kB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.038e-05/0.001905, allocations: 3.984 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.467e-05/0.001989, allocations: 31.84 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.002046, allocations: 23.86 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.002108, allocations: 11.98 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.002168, allocations: 19.98 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.251e-05/0.002201, allocations: 4 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.002212, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.0023, allocations: 31.97 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.002308, allocations: 3.938 kB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.00232, allocations: 8 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.592e-05/0.002416, allocations: 31.91 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.002429, allocations: 0 / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00243, allocations: 0 / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.002446, allocations: 0 / 0.8202 GB, free: 0.9688 MB / 0.7917 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.0003191/0.002765, allocations: 252.5 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.002794, allocations: 12.03 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.002942, allocations: 90.03 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.003018, allocations: 113.8 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.003026, allocations: 384 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003033, allocations: 8.312 kB / 0.8206 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.00312, allocations: 46.95 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003129, allocations: 192 / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.003135, allocations: 4.375 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.003142, allocations: 8.359 kB / 0.8207 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.003166, allocations: 7.938 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.003367, allocations: 152.3 kB / 0.8208 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.003406, allocations: 22.52 kB / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.101e-05/0.003417, allocations: 4.859 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.003428, allocations: 4.062 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.003448, allocations: 30.56 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.003448, allocations: 0 / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 8.756e-05/0.003536, allocations: 37.69 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.003568, allocations: 59.41 kB / 0.821 GB, free: 0 / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.613e-05/0.003614, allocations: 110.8 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.003623, allocations: 25.7 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.003648, allocations: 92.12 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.003662, allocations: 3.953 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.003686, allocations: 13.72 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.003757, allocations: 314.8 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.003764, allocations: 4 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.00377, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.00379, allocations: 12.84 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003791, allocations: 4.062 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.943e-05/0.003841, allocations: 33.7 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.003851, allocations: 10.28 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.003855, allocations: 3.984 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.003862, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.003909, allocations: 15.94 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.003911, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.003928, allocations: 15.89 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.003931, allocations: 0 / 0.8216 GB, free: 15.3 MB / 0.8073 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 4.107e-05/0.003972, allocations: 109.8 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.003984, allocations: 8.031 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.004044, allocations: 41 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.004045, allocations: 0 / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.004048, allocations: 7.938 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.004051, allocations: 4.031 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/0.00412, allocations: 65.89 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004121, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.004144, allocations: 11.94 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.004149, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004151, allocations: 7.984 kB / 0.8218 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.004154, allocations: 0 / 0.8218 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.004155, allocations: 4 kB / 0.8218 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.004156, allocations: 3.938 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.288e-05/0.004249, allocations: 131.5 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.004256, allocations: 4 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.004285, allocations: 0 / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.004309, allocations: 11.98 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.00431, allocations: 0 / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.694e-06/0.004318, allocations: 8.797 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004318, allocations: 4 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001054/0.004424, allocations: 8 kB / 0.822 GB, free: 14.84 MB / 0.8073 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.722e-05/0.004491, allocations: 80.36 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.698e-05/0.004538, allocations: 12.84 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.004542, allocations: 4 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.004556, allocations: 8.859 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.004676, allocations: 8 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.005227, allocations: 132.6 kB / 0.8222 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.005255, allocations: 59.3 kB / 0.8223 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.005273, allocations: 7.922 kB / 0.8223 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.005316, allocations: 55.38 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of SimCode: time 3.7e-07/0.005317, allocations: 0 / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.002011/0.007328, allocations: 0.656 MB / 0.823 GB, free: 13.77 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.ref.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.173162863589823]