Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001393/0.001393, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001507/0.001507, allocations: 211.6 kB / 23 MB, free: 4.934 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [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.002054/0.002054, allocations: 66.89 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002877/0.3727, allocations: 1.285 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.3734, allocations: 267.7 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.3734, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.3734, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.3735, allocations: 11.92 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3738, allocations: 43.75 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.3739, allocations: 27.86 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3739, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.3739, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.374, allocations: 7.984 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.374, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3741, allocations: 55.95 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.3742, allocations: 15.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.3742, allocations: 8 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3744, allocations: 51.77 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3744, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3744, allocations: 3.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3744, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004176/0.3748, allocations: 262.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3748, allocations: 12.02 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.3751, allocations: 16.92 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3752, allocations: 106.5 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3752, allocations: 12.38 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3752, allocations: 384 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3753, allocations: 67.95 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.3753, allocations: 192 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3754, allocations: 3.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3754, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.3754, allocations: 15.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.3756, allocations: 109.3 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.3777, allocations: 266.5 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3778, allocations: 20.84 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3778, allocations: 3.938 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3778, allocations: 30.56 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3778, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.378, allocations: 69.56 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.378, allocations: 59.41 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.3781, allocations: 89.86 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3781, allocations: 25.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.3782, allocations: 84.12 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3782, allocations: 15.91 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.3782, allocations: 13.72 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3784, allocations: 318.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.3784, allocations: 7.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.3784, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.3785, allocations: 24.86 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3785, allocations: 4.125 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.554e-05/0.3786, allocations: 57.62 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3786, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3786, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3786, allocations: 4.328 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.3787, allocations: 7.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3787, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.3787, allocations: 7.953 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3787, allocations: 7.984 kB / 1.33 GB, free: 13.3 MB / 1.029 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 (4): * Single equations (assignments): 4 * 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.94e-05/0.3788, allocations: 113.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.3788, allocations: 7.984 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.3789, allocations: 7.531 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3789, allocations: 7.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3789, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.3789, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3789, allocations: 3.984 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.379, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.379, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001537/0.3792, allocations: 136.9 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001738/0.3793, allocations: 222.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.24e-05/0.3794, allocations: 11.98 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.3794, allocations: 83.28 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Backend: time 2.3e-07/0.3794, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3798, allocations: 118.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005021/0.3803, allocations: 0.5507 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Templates: time 0.00341/0.3837, allocations: 0.8009 MB / 1.332 GB, free: 11.15 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 9.354042238999682]