Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001338/0.001338, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00153/0.00153, allocations: 210.4 kB / 23 MB, free: 4.562 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 66.27 kB / 1.119 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3337, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002453/0.3362, allocations: 1.319 MB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.5165, allocations: 150.9 MB / 1.433 GB, free: 2.367 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.5165, allocations: 3.938 kB / 1.433 GB, free: 2.363 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.5166, allocations: 7.922 kB / 1.433 GB, free: 2.355 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.5166, allocations: 3.938 kB / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.517, allocations: 115.5 kB / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.5171, allocations: 27.8 kB / 1.433 GB, free: 2.211 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.5171, allocations: 8 kB / 1.433 GB, free: 2.203 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.5172, allocations: 4 kB / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.5172, allocations: 11.92 kB / 1.433 GB, free: 2.188 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.5172, allocations: 0 / 1.433 GB, free: 2.188 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.5177, allocations: 179.6 kB / 1.434 GB, free: 2.012 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.5177, allocations: 0 / 1.434 GB, free: 2.012 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.5177, allocations: 8 kB / 1.434 GB, free: 2.004 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.5179, allocations: 115.6 kB / 1.434 GB, free: 1.891 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5179, allocations: 0 / 1.434 GB, free: 1.891 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5179, allocations: 0 / 1.434 GB, free: 1.891 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5179, allocations: 0 / 1.434 GB, free: 1.891 MB / 1.123 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.0003499/0.5183, allocations: 286 kB / 1.434 GB, free: 1.582 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5183, allocations: 12.03 kB / 1.434 GB, free: 1.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.5189, allocations: 36.88 kB / 1.434 GB, free: 1.535 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.519, allocations: 106.5 kB / 1.434 GB, free: 1.406 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.519, allocations: 3.938 kB / 1.434 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.519, allocations: 8 kB / 1.434 GB, free: 1.395 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5192, allocations: 49.59 kB / 1.434 GB, free: 1.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5192, allocations: 3.984 kB / 1.434 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5192, allocations: 0 / 1.434 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5192, allocations: 4 kB / 1.434 GB, free: 1.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.5193, allocations: 15.98 kB / 1.434 GB, free: 1.316 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.5197, allocations: 231.9 kB / 1.434 GB, free: 1.047 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.5198, allocations: 22.58 kB / 1.435 GB, free: 1.016 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.5198, allocations: 8.922 kB / 1.435 GB, free: 1.004 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5198, allocations: 3.938 kB / 1.435 GB, free: 1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5198, allocations: 30.56 kB / 1.435 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5198, allocations: 4 kB / 1.435 GB, free: 0.957 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.52, allocations: 45.69 kB / 1.435 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.52, allocations: 51.41 kB / 1.435 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.5202, allocations: 105.8 kB / 1.435 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.5202, allocations: 29.7 kB / 1.435 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.5203, allocations: 84.14 kB / 1.435 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.5203, allocations: 7.891 kB / 1.435 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.5203, allocations: 21.81 kB / 1.435 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5205, allocations: 322.8 kB / 1.435 GB, free: 256 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.5205, allocations: 15.92 kB / 1.435 GB, free: 240 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.5206, allocations: 7.938 kB / 1.435 GB, free: 232 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.5207, allocations: 24.84 kB / 1.435 GB, free: 204 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5207, allocations: 0 / 1.435 GB, free: 204 kB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001873/0.5209, allocations: 65.61 kB / 1.435 GB, free: 132 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5209, allocations: 8 kB / 1.435 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5209, allocations: 0 / 1.435 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5209, allocations: 3.938 kB / 1.435 GB, free: 120 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.521, allocations: 7.984 kB / 1.435 GB, free: 112 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.521, allocations: 4 kB / 1.435 GB, free: 108 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.5212, allocations: 7.938 kB / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5212, allocations: 7.984 kB / 1.435 GB, free: 92 kB / 1.123 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 (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 prepare postOptimizeDAE: time 0.0001075/0.5213, allocations: 117.8 kB / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.5213, allocations: 0 / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.5213, allocations: 3.312 kB / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5213, allocations: 0 / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5213, allocations: 4 kB / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.5213, allocations: 7.938 kB / 1.435 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.5215, allocations: 120.8 kB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.5215, allocations: 4 kB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.5215, allocations: 4 kB / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.5215, allocations: 0 / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5215, allocations: 4 kB / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5215, allocations: 0 / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5215, allocations: 3.984 kB / 1.436 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5217, allocations: 131.8 kB / 1.436 GB, free: 15.63 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.5217, allocations: 7.953 kB / 1.436 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5217, allocations: 0 / 1.436 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5218, allocations: 11.95 kB / 1.436 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.5218, allocations: 3.984 kB / 1.436 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.5218, allocations: 7.938 kB / 1.436 GB, free: 15.6 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001021/0.5219, allocations: 91.27 kB / 1.436 GB, free: 15.51 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5219, allocations: 0 / 1.436 GB, free: 15.51 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002549/0.5222, allocations: 15.94 kB / 1.436 GB, free: 15.49 MB / 1.139 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 (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 Backend phase and start with SimCode phase: time 0.0001853/0.5224, allocations: 115.2 kB / 1.436 GB, free: 15.37 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.5225, allocations: 15.98 kB / 1.436 GB, free: 15.36 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5225, allocations: 0 / 1.436 GB, free: 15.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.5225, allocations: 4 kB / 1.436 GB, free: 15.35 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.5229, allocations: 11.98 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.5232, allocations: 153.2 kB / 1.436 GB, free: 15.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5235, allocations: 0.6768 MB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.5236, allocations: 11.44 kB / 1.437 GB, free: 14.45 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/0.5236, allocations: 3.938 kB / 1.437 GB, free: 14.44 MB / 1.139 GB Notification: Performance of Templates: time 0.002603/0.5262, allocations: 0.813 MB / 1.438 GB, free: 13.63 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 11.308717408013763]