Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001359/0.001359, allocations: 110 kB / 18.93 MB, free: 2.945 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.001462/0.001462, allocations: 192 kB / 22.23 MB, free: 5.16 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.161/3.161, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 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-master/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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir")
translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 61.86 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00284/0.3447, allocations: 1.516 MB / 1.317 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0003529/0.3451, allocations: 123.7 kB / 1.318 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3451, allocations: 0 / 1.318 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.3451, allocations: 7.922 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.3452, allocations: 7.875 kB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.3455, allocations: 71.38 kB / 1.318 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3457, allocations: 63.78 kB / 1.318 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3458, allocations: 12 kB / 1.318 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.3459, allocations: 27.91 kB / 1.318 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.3459, allocations: 27.91 kB / 1.318 GB, free: 7.844 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.346, allocations: 4 kB / 1.318 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.346, allocations: 4 kB / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.346, allocations: 19.92 kB / 1.318 GB, free: 7.816 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.346, allocations: 27.8 kB / 1.318 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.3462, allocations: 55.8 kB / 1.318 GB, free: 7.734 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3462, allocations: 0 / 1.318 GB, free: 7.734 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.3462, allocations: 4 kB / 1.318 GB, free: 7.73 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.471e-06/0.3462, allocations: 0 / 1.318 GB, free: 7.73 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0005659/0.3467, allocations: 298.2 kB / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3468, allocations: 8.031 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.3468, allocations: 8.891 kB / 1.318 GB, free: 7.391 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3469, allocations: 118.4 kB / 1.318 GB, free: 7.25 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.347, allocations: 30.27 kB / 1.318 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.347, allocations: 12.31 kB / 1.318 GB, free: 7.203 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3473, allocations: 78.19 kB / 1.318 GB, free: 7.121 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3473, allocations: 3.938 kB / 1.318 GB, free: 7.117 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3473, allocations: 4 kB / 1.318 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3473, allocations: 0 / 1.318 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3475, allocations: 47.89 kB / 1.318 GB, free: 7.066 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.3481, allocations: 291.8 kB / 1.319 GB, free: 6.738 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3483, allocations: 46.55 kB / 1.319 GB, free: 6.684 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.3483, allocations: 24.94 kB / 1.319 GB, free: 6.656 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3484, allocations: 0 / 1.319 GB, free: 6.656 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3484, allocations: 42.55 kB / 1.319 GB, free: 6.605 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3484, allocations: 0 / 1.319 GB, free: 6.605 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0003581/0.3488, allocations: 101.5 kB / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3488, allocations: 51.41 kB / 1.319 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3489, allocations: 109.8 kB / 1.319 GB, free: 6.32 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3489, allocations: 29.7 kB / 1.319 GB, free: 6.285 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.349, allocations: 92.09 kB / 1.319 GB, free: 6.191 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.349, allocations: 19.83 kB / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3491, allocations: 13.72 kB / 1.319 GB, free: 6.152 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001879/0.3493, allocations: 322.8 kB / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3494, allocations: 19.97 kB / 1.32 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.3495, allocations: 37.7 kB / 1.32 GB, free: 5.766 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3496, allocations: 61.61 kB / 1.32 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3496, allocations: 4 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002191/0.3499, allocations: 81.66 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3499, allocations: 4 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3499, allocations: 0 / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3499, allocations: 0 / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.35, allocations: 23.95 kB / 1.32 GB, free: 5.582 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.35, allocations: 0 / 1.32 GB, free: 5.582 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.3501, allocations: 8.219 kB / 1.32 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3501, allocations: 4 kB / 1.32 GB, free: 5.57 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (5):
 * Single equations (assignments): 5
 * 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.0001148/0.3502, allocations: 117.7 kB / 1.32 GB, free: 5.445 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3502, allocations: 7.953 kB / 1.32 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.3503, allocations: 11.98 kB / 1.32 GB, free: 5.414 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3503, allocations: 0 / 1.32 GB, free: 5.414 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3503, allocations: 4 kB / 1.32 GB, free: 5.41 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3503, allocations: 0 / 1.32 GB, free: 5.41 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.3505, allocations: 148.7 kB / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3505, allocations: 0 / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.3506, allocations: 11.98 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3506, allocations: 3.938 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3506, allocations: 4 kB / 1.32 GB, free: 5.203 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3506, allocations: 0 / 1.32 GB, free: 5.203 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3506, allocations: 0 / 1.32 GB, free: 5.203 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3509, allocations: 183.3 kB / 1.32 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.3509, allocations: 7.984 kB / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3509, allocations: 0 / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.351, allocations: 11.98 kB / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3511, allocations: 4 kB / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3511, allocations: 4 kB / 1.32 GB, free: 4.98 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.113e-05/0.3511, allocations: 91.33 kB / 1.32 GB, free: 4.891 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3511, allocations: 0 / 1.32 GB, free: 4.891 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002224/0.3514, allocations: 12 kB / 1.32 GB, free: 4.879 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.0001294/0.3515, allocations: 95.78 kB / 1.321 GB, free: 4.777 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002361/0.3517, allocations: 55.83 kB / 1.321 GB, free: 4.723 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3517, allocations: 0 / 1.321 GB, free: 4.723 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.3518, allocations: 32.03 kB / 1.321 GB, free: 4.691 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3521, allocations: 4.125 kB / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3525, allocations: 137.4 kB / 1.321 GB, free: 4.527 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3528, allocations: 0.6846 MB / 1.321 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.989e-05/0.3529, allocations: 8 kB / 1.321 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.3529, allocations: 15.44 kB / 1.321 GB, free: 3.793 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3529, allocations: 0 / 1.321 GB, free: 3.793 MB / 1.014 GB
Notification: Performance of Templates: time 0.003502/0.3564, allocations: 0.8302 MB / 1.322 GB, free: 2.973 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.887607279233634]