Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_10_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_10_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.001407/0.001407, allocations: 92 kB / 15.06 MB, free: 1.098 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.001542/0.001542, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003355, allocations: 8 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7957, allocations: 153.8 MB / 1.022 GB, free: 220 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001796/0.7975, allocations: 1.2 MB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.7979, allocations: 123.8 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.798, allocations: 3.938 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.798, allocations: 7.938 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.7981, allocations: 3.938 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.7985, allocations: 63.78 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7986, allocations: 51.83 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.7987, allocations: 11.98 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.7988, allocations: 19.98 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.7989, allocations: 19.86 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.7989, allocations: 8 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.7989, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.7989, allocations: 15.97 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.799, allocations: 29.7 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.415e-05/0.7991, allocations: 31.94 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7991, allocations: 3.938 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7991, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7991, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 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.0005099/0.7996, allocations: 375 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7996, allocations: 12.52 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.7997, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7998, allocations: 163.1 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.7999, allocations: 37.66 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.7999, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.8002, allocations: 85.64 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8002, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8002, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8002, allocations: 4 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.8004, allocations: 63.89 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.801, allocations: 324.6 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.8011, allocations: 58.48 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.8012, allocations: 36.94 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.8013, allocations: 3.938 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.8013, allocations: 38.56 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 3.106e-06/0.8013, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003736/0.8017, allocations: 125.6 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.8017, allocations: 51.41 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.8018, allocations: 109.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.8018, allocations: 25.7 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.8019, allocations: 84.14 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.8019, allocations: 23.73 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.8019, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.802, allocations: 314.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.8021, allocations: 31.92 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.8022, allocations: 45.69 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.8023, allocations: 27.98 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8023, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000209/0.8026, allocations: 89.66 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8026, allocations: 7.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.8026, allocations: 4.031 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8026, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.8027, allocations: 15.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8027, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.8028, allocations: 19.89 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.8028, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.8029, allocations: 113.8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.8029, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.803, allocations: 11.91 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.803, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.803, allocations: 3.984 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.803, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.8031, allocations: 169.7 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8032, allocations: 7.984 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.8032, allocations: 12 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8032, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.8033, allocations: 8 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8033, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8033, allocations: 3.938 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.8035, allocations: 187.4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.8036, allocations: 81.11 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.8036, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8037, allocations: 19.92 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.8038, allocations: 3.938 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.8038, allocations: 8.109 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.8038, allocations: 91.56 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8039, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002318/0.8041, allocations: 12 kB / 1.027 GB, free: 11.42 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.8042, allocations: 107.2 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.8044, allocations: 59.89 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8045, allocations: 4.062 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.8045, allocations: 27.98 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.8048, allocations: 11.95 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.8052, allocations: 156.6 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.8054, allocations: 0.6809 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.8054, allocations: 7.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.8055, allocations: 7.438 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8055, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.002753/0.8082, allocations: 0.6862 MB / 1.028 GB, free: 9.621 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches