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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9436/0.9451, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003296/0.9485, allocations: 1.503 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.9489, allocations: 131.7 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.949, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.9491, allocations: 7.922 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.9491, allocations: 7.922 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.9495, allocations: 63.89 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.9496, allocations: 67.77 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.9498, allocations: 19.98 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.9498, allocations: 19.92 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.95, allocations: 27.92 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.95, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.95, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.95, allocations: 15.97 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.9501, allocations: 27.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.9502, allocations: 51.8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.9502, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9502, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9503, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 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.0006348/0.9509, allocations: 375.2 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9509, allocations: 8.031 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.951, allocations: 8.844 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.9511, allocations: 178 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.9512, allocations: 38.25 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.9512, allocations: 384 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.9515, allocations: 74.22 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9515, allocations: 7.938 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.9515, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.9515, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.9517, allocations: 43.95 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.9524, allocations: 312.7 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.9525, allocations: 50.62 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.9526, allocations: 32.94 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.9527, allocations: 0 / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.9527, allocations: 34.5 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.9527, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.9531, allocations: 113.5 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9531, allocations: 51.41 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.9533, allocations: 121.8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.9533, allocations: 29.7 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.9534, allocations: 84.14 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.9534, allocations: 15.75 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.9535, allocations: 21.7 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9536, allocations: 318.8 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.9537, allocations: 19.98 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.9538, allocations: 37.69 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.954, allocations: 65.61 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.954, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002538/0.9542, allocations: 85.5 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9543, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9543, allocations: 4 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9543, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.9544, allocations: 11.98 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.9544, allocations: 4 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.9545, allocations: 12.03 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.9545, allocations: 128 / 1.212 GB, free: 9.324 MB / 0.9356 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 9.438e-05/0.9546, allocations: 117.8 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.9546, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.9547, allocations: 15.91 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9547, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9547, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9547, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.9549, allocations: 173.6 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9549, allocations: 8 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.955, allocations: 15.98 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.955, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.955, allocations: 3.938 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.955, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.955, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.9553, allocations: 175.4 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.9553, allocations: 81.11 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.9554, allocations: 4 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.9555, allocations: 11.98 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.9555, allocations: 3.984 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.9556, allocations: 7.938 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.9556, allocations: 87.27 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9556, allocations: 3.938 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002297/0.9559, allocations: 11.91 kB / 1.213 GB, free: 8.512 MB / 0.9356 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.0001304/0.956, allocations: 103.2 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.9562, allocations: 55.83 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9563, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.9563, allocations: 23.98 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.9567, allocations: 12.45 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.9571, allocations: 161.5 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.9574, allocations: 0.6885 MB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.9575, allocations: 7.438 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.9575, allocations: 0 / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.002521/0.96, allocations: 0.8589 MB / 1.215 GB, free: 6.555 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches