Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00132/0.00132, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001446/0.001446, allocations: 211.8 kB / 22.99 MB, free: 4.945 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.207/3.207, allocations: 0.5107 GB / 0.8166 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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.003449/0.003449, allocations: 65.27 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3757, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002771/0.3784, allocations: 1.3 MB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1648/0.5433, allocations: 129.6 MB / 1.492 GB, free: 10.13 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.5433, allocations: 8 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.5433, allocations: 3.984 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.5433, allocations: 7.922 kB / 1.492 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.5438, allocations: 115.4 kB / 1.493 GB, free: 9.996 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.5439, allocations: 23.86 kB / 1.493 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.5439, allocations: 0 / 1.493 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.5439, allocations: 7.938 kB / 1.493 GB, free: 9.965 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.544, allocations: 7.984 kB / 1.493 GB, free: 9.957 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.544, allocations: 4 kB / 1.493 GB, free: 9.953 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.5444, allocations: 167.7 kB / 1.493 GB, free: 9.789 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.5444, allocations: 11.92 kB / 1.493 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.5444, allocations: 4 kB / 1.493 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.5447, allocations: 115.6 kB / 1.493 GB, free: 9.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5447, allocations: 0 / 1.493 GB, free: 9.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5447, allocations: 0 / 1.493 GB, free: 9.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5447, allocations: 0 / 1.493 GB, free: 9.66 MB / 1.186 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.000341/0.545, allocations: 274.1 kB / 1.493 GB, free: 9.363 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5451, allocations: 11.97 kB / 1.493 GB, free: 9.352 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005716/0.5456, allocations: 48.83 kB / 1.493 GB, free: 9.305 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5457, allocations: 106.5 kB / 1.493 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5458, allocations: 11.94 kB / 1.493 GB, free: 9.164 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5458, allocations: 0 / 1.493 GB, free: 9.164 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.5459, allocations: 45.66 kB / 1.493 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5459, allocations: 0 / 1.493 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.546, allocations: 4 kB / 1.493 GB, free: 9.109 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.546, allocations: 0 / 1.493 GB, free: 9.109 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.5461, allocations: 23.92 kB / 1.493 GB, free: 9.086 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.5464, allocations: 208.5 kB / 1.494 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.664e-05/0.5465, allocations: 22.58 kB / 1.494 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.5465, allocations: 8.922 kB / 1.494 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.5465, allocations: 0 / 1.494 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5465, allocations: 38.55 kB / 1.494 GB, free: 8.762 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5465, allocations: 0 / 1.494 GB, free: 8.762 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.5467, allocations: 45.64 kB / 1.494 GB, free: 8.711 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5467, allocations: 51.41 kB / 1.494 GB, free: 8.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5469, allocations: 113.8 kB / 1.494 GB, free: 8.527 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5469, allocations: 25.7 kB / 1.494 GB, free: 8.496 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.547, allocations: 88.12 kB / 1.494 GB, free: 8.406 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/0.547, allocations: 7.891 kB / 1.494 GB, free: 8.398 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.547, allocations: 17.7 kB / 1.494 GB, free: 8.375 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5472, allocations: 326.9 kB / 1.494 GB, free: 8.047 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.5472, allocations: 7.984 kB / 1.494 GB, free: 8.039 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.5473, allocations: 11.98 kB / 1.494 GB, free: 8.027 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.5474, allocations: 16.86 kB / 1.494 GB, free: 8.008 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5474, allocations: 3.984 kB / 1.494 GB, free: 8.004 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002007/0.5476, allocations: 65.61 kB / 1.494 GB, free: 7.934 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5476, allocations: 8 kB / 1.494 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5476, allocations: 0 / 1.494 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5476, allocations: 0 / 1.494 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5477, allocations: 11.98 kB / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.5477, allocations: 0 / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.5479, allocations: 7.984 kB / 1.494 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5479, allocations: 4 kB / 1.494 GB, free: 7.902 MB / 1.186 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 8.466e-05/0.548, allocations: 114.9 kB / 1.495 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.548, allocations: 7.953 kB / 1.495 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.548, allocations: 7.641 kB / 1.495 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.548, allocations: 0 / 1.495 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.548, allocations: 0 / 1.495 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.548, allocations: 3.984 kB / 1.495 GB, free: 7.762 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.5481, allocations: 113.2 kB / 1.495 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5481, allocations: 0 / 1.495 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.5482, allocations: 7.938 kB / 1.495 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5482, allocations: 0 / 1.495 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.5482, allocations: 3.938 kB / 1.495 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5482, allocations: 0 / 1.495 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5482, allocations: 4 kB / 1.495 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.5483, allocations: 139.5 kB / 1.495 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.5483, allocations: 0 / 1.495 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5483, allocations: 0 / 1.495 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5484, allocations: 4 kB / 1.495 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.5485, allocations: 3.984 kB / 1.495 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.5485, allocations: 0 / 1.495 GB, free: 7.445 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.961e-05/0.5486, allocations: 91.27 kB / 1.495 GB, free: 7.355 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5486, allocations: 0 / 1.495 GB, free: 7.355 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002592/0.5488, allocations: 19.97 kB / 1.495 GB, free: 7.336 MB / 1.186 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.0001625/0.549, allocations: 107.2 kB / 1.495 GB, free: 7.223 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.5491, allocations: 27.86 kB / 1.495 GB, free: 7.195 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5491, allocations: 0 / 1.495 GB, free: 7.195 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.5491, allocations: 4 kB / 1.495 GB, free: 7.191 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5495, allocations: 12.05 kB / 1.495 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.5498, allocations: 145.3 kB / 1.495 GB, free: 7.004 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.5498, allocations: 63.28 kB / 1.495 GB, free: 6.922 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.5499, allocations: 11.44 kB / 1.495 GB, free: 6.91 MB / 1.186 GB Notification: Performance of SimCode: time 3.81e-07/0.5499, allocations: 0 / 1.495 GB, free: 6.91 MB / 1.186 GB Notification: Performance of Templates: time 0.002448/0.5523, allocations: 0.8201 MB / 1.496 GB, free: 6.094 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.491021727211773]