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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 189 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 496 MB / 0.7835 GB, free: 33.77 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 70.14 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4391, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003128/0.4422, allocations: 1.287 MB / 1.309 GB, free: 480 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007799/0.443, allocations: 303.4 kB / 1.309 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.443, allocations: 0 / 1.309 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.443, allocations: 0 / 1.309 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.4431, allocations: 3.938 kB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.4434, allocations: 51.73 kB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.4435, allocations: 19.94 kB / 1.309 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.4436, allocations: 3.984 kB / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.4436, allocations: 7.938 kB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.4437, allocations: 4 kB / 1.309 GB, free: 84 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4437, allocations: 4 kB / 1.309 GB, free: 80 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.4438, allocations: 51.95 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.4439, allocations: 11.98 kB / 1.309 GB, free: 16 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.4439, allocations: 11.92 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4441, allocations: 43.92 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4441, allocations: 0 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.4441, allocations: 0 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.38e-06/0.4441, allocations: 3.938 kB / 1.309 GB, free: 15.95 MB / 1.014 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.0004526/0.4446, allocations: 258.3 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4446, allocations: 12.92 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.4449, allocations: 20.91 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.445, allocations: 110.5 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.445, allocations: 8.312 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.445, allocations: 384 / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4452, allocations: 42.25 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4452, allocations: 192 / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4452, allocations: 3.938 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4452, allocations: 7.984 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.424e-05/0.4453, allocations: 15.98 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.4455, allocations: 140.7 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.4481, allocations: 266.3 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.4481, allocations: 16.86 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.4481, allocations: 0 / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.4482, allocations: 30.56 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4482, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0002107/0.4484, allocations: 65.62 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4484, allocations: 55.34 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.4485, allocations: 101.8 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4486, allocations: 29.7 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.4486, allocations: 80.14 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.4486, allocations: 7.906 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.4487, allocations: 17.72 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001737/0.4489, allocations: 314.8 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.4489, allocations: 11.98 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.4489, allocations: 4 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.449, allocations: 28.98 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.449, allocations: 0 / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.4491, allocations: 57.62 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4491, allocations: 7.938 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.4491, allocations: 7.938 kB / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4492, allocations: 0 / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.4492, allocations: 11.98 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.4492, allocations: 4 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.4493, allocations: 0 / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.4493, allocations: 3.984 kB / 1.311 GB, free: 14.06 MB / 1.014 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 0.0001029/0.4494, allocations: 118.5 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.4494, allocations: 4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.4495, allocations: 11.47 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4495, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4495, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4495, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.4496, allocations: 128.8 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4496, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.4497, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4497, allocations: 8.266 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4497, allocations: 11.92 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4497, allocations: 4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4497, allocations: 0 / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4499, allocations: 85 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.4499, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4499, allocations: 7.938 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.45, allocations: 4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.45, allocations: 7.984 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.45, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.145e-05/0.4501, allocations: 79.28 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.4501, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002897/0.4504, allocations: 4 kB / 1.311 GB, free: 13.52 MB / 1.014 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 (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 Backend phase and start with SimCode phase: time 0.0001353/0.4505, allocations: 95.25 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001285/0.4506, allocations: 27.92 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4506, allocations: 8.094 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.4507, allocations: 8 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.451, allocations: 11.98 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.4514, allocations: 130.7 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4518, allocations: 0.6729 MB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.501e-05/0.4518, allocations: 4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.4519, allocations: 7.438 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of SimCode: time 3.7e-07/0.4519, allocations: 4 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of Templates: time 0.003846/0.4557, allocations: 0.5353 MB / 1.313 GB, free: 11.96 MB / 1.014 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/jenkins/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: 8.921973342075944]