Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001193/0.001193, 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.001109/0.001109, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9074/0.9074, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.625/1.625, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.528e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002848/0.002883, allocations: 1.446 MB / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.00341, allocations: 211.4 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.00345, allocations: 4 kB / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.003485, allocations: 0 / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.003536, allocations: 7.875 kB / 0.9533 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.003813, allocations: 31.83 kB / 0.9534 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.003897, allocations: 19.88 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004021, allocations: 11.98 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.004086, allocations: 8 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.004133, allocations: 11.97 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.004153, allocations: 0 / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.004265, allocations: 27.98 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.004285, allocations: 15.92 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.004307, allocations: 7.938 kB / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004461, allocations: 47.88 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004464, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004465, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.00447, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 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.000446/0.004916, allocations: 262.3 kB / 0.9537 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.004972, allocations: 8.031 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.005155, allocations: 8.891 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005259, allocations: 105.8 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.005273, allocations: 8.312 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.005286, allocations: 8.359 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005458, allocations: 46.23 kB / 0.9539 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005469, allocations: 4.188 kB / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.00548, allocations: 384 / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.005485, allocations: 384 / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.005613, allocations: 35.84 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.005979, allocations: 200.6 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.006092, allocations: 39.17 kB / 0.9542 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.006157, allocations: 16.91 kB / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.006176, allocations: 0 / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.006204, allocations: 34.56 kB / 0.9542 GB, free: 296 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.006205, allocations: 0 / 0.9542 GB, free: 296 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0003113/0.006516, allocations: 93.56 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.006559, allocations: 55.41 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.006634, allocations: 101.8 kB / 0.9545 GB, free: 16 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.006665, allocations: 25.7 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.006709, allocations: 80.14 kB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.006732, allocations: 7.953 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.006769, allocations: 17.7 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.006883, allocations: 314.8 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.006947, allocations: 15.98 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.007001, allocations: 16.02 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.007119, allocations: 44.75 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007121, allocations: 3.938 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001483/0.007269, allocations: 61.67 kB / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.007285, allocations: 7.984 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.007292, allocations: 4.031 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007304, allocations: 4.188 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.007371, allocations: 16 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.007376, allocations: 0 / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.007412, allocations: 7.984 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007418, allocations: 0 / 0.9551 GB, free: 15.37 MB / 0.9167 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.849e-05/0.007486, allocations: 109.8 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.007509, allocations: 3.984 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.00772, allocations: 88.83 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007722, allocations: 3.938 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.007726, allocations: 0 / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007728, allocations: 0 / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.007863, allocations: 113.3 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007864, allocations: 0 / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.007913, allocations: 7.984 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007915, allocations: 4 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.007922, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.007925, allocations: 3.938 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007926, allocations: 4 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.008118, allocations: 171.4 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.008124, allocations: 0 / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.008136, allocations: 0 / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.008203, allocations: 11.92 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.008237, allocations: 4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.008242, allocations: 4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.008278, allocations: 83.27 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008278, allocations: 4 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002475/0.008526, allocations: 4 kB / 0.9557 GB, free: 14.7 MB / 0.9167 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.0001098/0.008636, allocations: 95.25 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.008799, allocations: 35.95 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008801, allocations: 0 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.008863, allocations: 23.92 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.009158, allocations: 8.281 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.009468, allocations: 150.4 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.009521, allocations: 59.36 kB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.009551, allocations: 8.5 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.009552, allocations: 0 / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of Templates: time 0.001742/0.01129, allocations: 0.6102 MB / 0.9566 GB, free: 13.65 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.35356352571398]