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.002002/0.002002, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002228/0.002228, allocations: 190 kB / 22.1 MB, free: 5.148 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.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.228/3.228, allocations: 495.8 MB / 0.783 GB, free: 33.64 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.001988/0.001988, allocations: 66.83 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3538, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002621/0.3564, allocations: 1.274 MB / 1.308 GB, free: 0.5898 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0006134/0.357, allocations: 303.4 kB / 1.308 GB, free: 300 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.357, allocations: 0 / 1.308 GB, free: 300 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.357, allocations: 0 / 1.308 GB, free: 300 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.3571, allocations: 7.922 kB / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3574, allocations: 51.75 kB / 1.308 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.3575, allocations: 15.94 kB / 1.308 GB, free: 224 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3575, allocations: 0 / 1.308 GB, free: 224 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.3575, allocations: 11.94 kB / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.3576, allocations: 11.97 kB / 1.308 GB, free: 200 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3576, allocations: 0 / 1.308 GB, free: 200 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3577, allocations: 55.95 kB / 1.308 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.3577, allocations: 4 kB / 1.308 GB, free: 140 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.3578, allocations: 7.938 kB / 1.308 GB, free: 132 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3579, allocations: 51.81 kB / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3579, allocations: 0 / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.3579, allocations: 0 / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 9.357e-06/0.3579, allocations: 0 / 1.308 GB, free: 80 kB / 0.9981 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.0004194/0.3583, allocations: 266.2 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3584, allocations: 8.031 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.3586, allocations: 16.92 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.3587, allocations: 110.5 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3587, allocations: 8.359 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3587, allocations: 384 / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3588, allocations: 50.17 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3589, allocations: 192 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3589, allocations: 7.938 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3589, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.3589, allocations: 16 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.3591, allocations: 128.8 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.361, allocations: 266.4 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.3611, allocations: 20.84 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3611, allocations: 0 / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3611, allocations: 30.56 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3611, allocations: 0 / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0001836/0.3613, allocations: 69.58 kB / 1.309 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3614, allocations: 59.41 kB / 1.309 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.3614, allocations: 89.86 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3614, allocations: 33.64 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.3615, allocations: 80.14 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.3615, allocations: 15.89 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3615, allocations: 13.72 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.3617, allocations: 314.8 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.3617, allocations: 12.12 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.3617, allocations: 7.984 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.3618, allocations: 24.86 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3618, allocations: 0 / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.746e-05/0.3619, allocations: 53.69 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3619, allocations: 4 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3619, allocations: 3.938 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3619, allocations: 3.938 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.362, allocations: 15.94 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.362, allocations: 0 / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.362, allocations: 4.328 kB / 1.31 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.362, allocations: 0 / 1.31 GB, free: 14.19 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 8.858e-05/0.3621, allocations: 118.5 kB / 1.31 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.3621, allocations: 3.984 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.3621, allocations: 15.45 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3621, allocations: 4 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3621, allocations: 0 / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3621, allocations: 0 / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3623, allocations: 128.8 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3623, allocations: 0 / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.3623, allocations: 8 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3623, allocations: 0 / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3623, allocations: 11.94 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3623, allocations: 3.938 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3623, allocations: 0 / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3624, allocations: 81.02 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.3625, allocations: 3.984 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3625, allocations: 7.938 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.3626, allocations: 8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3626, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3626, allocations: 4 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.935e-05/0.3626, allocations: 75.28 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3626, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000185/0.3628, allocations: 4 kB / 1.311 GB, free: 13.65 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.0001104/0.3629, allocations: 100 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001045/0.363, allocations: 32.03 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.363, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.363, allocations: 15.98 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3633, allocations: 7.984 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.3636, allocations: 126.8 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3639, allocations: 0.6845 MB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.797e-05/0.3639, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.364, allocations: 11.44 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.364, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of Templates: time 0.002867/0.3668, allocations: 0.5391 MB / 1.312 GB, free: 12.08 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: 9.047448062337935]