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.002524/0.002524, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003089/0.003089, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.651e-05, allocations: 4.719 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002717/0.002743, allocations: 1.318 MB / 0.7877 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2167/0.2195, allocations: 143.2 MB / 0.9275 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.2195, allocations: 0 / 0.9275 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.2195, allocations: 0 / 0.9275 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.2196, allocations: 11.92 kB / 0.9275 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.2201, allocations: 127.3 kB / 0.9276 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.2201, allocations: 19.86 kB / 0.9276 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.2202, allocations: 0 / 0.9276 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.2202, allocations: 11.98 kB / 0.9276 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.2202, allocations: 4 kB / 0.9276 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2202, allocations: 0 / 0.9276 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.2207, allocations: 175.5 kB / 0.9278 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.2207, allocations: 4 kB / 0.9278 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2207, allocations: 7.984 kB / 0.9278 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.221, allocations: 135.5 kB / 0.9279 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.221, allocations: 0 / 0.9279 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.182e-06/0.221, allocations: 0 / 0.9279 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.221, allocations: 0 / 0.9279 GB, free: 11.35 MB / 0.8855 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.0004336/0.2214, allocations: 380 kB / 0.9283 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2215, allocations: 8.031 kB / 0.9283 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.2221, allocations: 44.83 kB / 0.9284 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2222, allocations: 112.6 kB / 0.9285 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2222, allocations: 4.359 kB / 0.9285 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2222, allocations: 384 / 0.9285 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2223, allocations: 49.55 kB / 0.9285 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2224, allocations: 0 / 0.9285 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2224, allocations: 0 / 0.9285 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2224, allocations: 0 / 0.9285 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2225, allocations: 23.98 kB / 0.9285 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.2229, allocations: 251.8 kB / 0.9288 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.2229, allocations: 35.06 kB / 0.9288 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.223, allocations: 11.75 kB / 0.9288 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.223, allocations: 3.938 kB / 0.9288 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.223, allocations: 33.39 kB / 0.9289 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.223, allocations: 0 / 0.9289 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.2232, allocations: 49.64 kB / 0.9289 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.2232, allocations: 51.53 kB / 0.929 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2234, allocations: 173.9 kB / 0.9291 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2234, allocations: 25.7 kB / 0.9292 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.2235, allocations: 126.9 kB / 0.9293 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.2235, allocations: 11.95 kB / 0.9293 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.2236, allocations: 27.3 kB / 0.9293 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.2239, allocations: 496.1 kB / 0.9298 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.2239, allocations: 4 kB / 0.9298 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.224, allocations: 19.92 kB / 0.9298 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.224, allocations: 27.62 kB / 0.9298 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.224, allocations: 0 / 0.9298 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001764/0.2242, allocations: 57.95 kB / 0.9299 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2242, allocations: 4 kB / 0.9299 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.2242, allocations: 4 kB / 0.9299 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2243, allocations: 0 / 0.9299 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2244, allocations: 15.98 kB / 0.9299 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2244, allocations: 0 / 0.9299 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2245, allocations: 11.94 kB / 0.9299 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2245, allocations: 11.91 kB / 0.9299 GB, free: 9.109 MB / 0.8855 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.0001159/0.2246, allocations: 156.5 kB / 0.9301 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2246, allocations: 4 kB / 0.9301 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.2247, allocations: 7.312 kB / 0.9301 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2247, allocations: 0 / 0.9301 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2247, allocations: 0 / 0.9301 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2247, allocations: 0 / 0.9301 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2248, allocations: 116.6 kB / 0.9302 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2248, allocations: 0 / 0.9302 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.2249, allocations: 8 kB / 0.9302 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2249, allocations: 0 / 0.9302 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2249, allocations: 0 / 0.9302 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2249, allocations: 4 kB / 0.9302 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2249, allocations: 0 / 0.9302 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.225, allocations: 195.8 kB / 0.9304 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.2251, allocations: 3.953 kB / 0.9304 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2251, allocations: 0 / 0.9304 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.2252, allocations: 4 kB / 0.9304 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.2252, allocations: 4 kB / 0.9304 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2252, allocations: 4.031 kB / 0.9304 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000124/0.2253, allocations: 131.2 kB / 0.9305 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.2253, allocations: 0 / 0.9305 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002323/0.2255, allocations: 12 kB / 0.9306 GB, free: 8.402 MB / 0.8855 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.0002005/0.2257, allocations: 123.1 kB / 0.9307 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2259, allocations: 23.67 kB / 0.9307 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2259, allocations: 0 / 0.9307 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.2259, allocations: 19.62 kB / 0.9307 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2262, allocations: 19.92 kB / 0.9307 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.2265, allocations: 122.3 kB / 0.9308 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.2266, allocations: 63.34 kB / 0.9309 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.507e-05/0.2266, allocations: 4.062 kB / 0.9309 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.2266, allocations: 12.5 kB / 0.9309 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.2266, allocations: 0 / 0.9309 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of Templates: time 0.003785/0.2304, allocations: 0.816 MB / 0.9317 GB, free: 7.156 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.208451854996383]