Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 188.8 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.06 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.388e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8533/1.108, allocations: 149.3 MB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.108, allocations: 75.62 kB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006909/1.115, allocations: 2.394 MB / 1.354 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.115, allocations: 0 / 1.354 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.115, allocations: 0 / 1.354 GB, free: 33.99 MB / 0.8386 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.0003945/1.115, allocations: 365.6 kB / 1.354 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.115, allocations: 7.75 kB / 1.355 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/1.115, allocations: 7.719 kB / 1.355 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/1.115, allocations: 175.8 kB / 1.355 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/1.116, allocations: 30.75 kB / 1.355 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/1.116, allocations: 7.844 kB / 1.355 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.03e-05/1.116, allocations: 20.77 kB / 1.355 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/1.116, allocations: 45.44 kB / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/1.116, allocations: 3.719 kB / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.116, allocations: 0.75 kB / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.116, allocations: 0 / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/1.116, allocations: 292.5 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/1.116, allocations: 32.92 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/1.116, allocations: 17.27 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/1.116, allocations: 4 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/1.116, allocations: 31.22 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.116, allocations: 0 / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001532/1.117, allocations: 62.84 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/1.117, allocations: 51.41 kB / 1.355 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/1.117, allocations: 97.61 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/1.117, allocations: 25.7 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/1.117, allocations: 92.78 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/1.117, allocations: 17.06 kB / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.117, allocations: 0 / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.117, allocations: 322.6 kB / 1.356 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/1.117, allocations: 7.781 kB / 1.356 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/1.117, allocations: 22.53 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/1.117, allocations: 13.06 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.117, allocations: 0 / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.114e-05/1.117, allocations: 63.8 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.117, allocations: 4.438 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.117, allocations: 3.906 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.117, allocations: 0 / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/1.117, allocations: 14.83 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.117, allocations: 1.406 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/1.117, allocations: 14.08 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.117, allocations: 0 / 1.356 GB, free: 32.34 MB / 0.8386 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 () * 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.602e-05/1.117, allocations: 114 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/1.117, allocations: 0.6094 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/1.118, allocations: 16.47 kB / 1.356 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.118, allocations: 0.75 kB / 1.356 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.118, allocations: 0 / 1.356 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.118, allocations: 3.984 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/1.118, allocations: 154.9 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.118, allocations: 0 / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/1.118, allocations: 18.67 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.118, allocations: 0 / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/1.118, allocations: 0 / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.118, allocations: 0.7031 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.118, allocations: 3.844 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/1.118, allocations: 152.4 kB / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/1.118, allocations: 77.67 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.118, allocations: 0 / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.118, allocations: 19.7 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/1.118, allocations: 9.594 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/1.118, allocations: 1.219 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.588e-05/1.118, allocations: 92.47 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.118, allocations: 3.938 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002204/1.118, allocations: 11.69 kB / 1.357 GB, free: 31.73 MB / 0.8386 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 () * 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.0001134/1.119, allocations: 100.1 kB / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.672e-05/1.119, allocations: 27.47 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.119, allocations: 0 / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/1.119, allocations: 11.41 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/1.119, allocations: 8.562 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/1.119, allocations: 87.12 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/1.119, allocations: 0.6876 MB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.37e-05/1.119, allocations: 8.578 kB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/1.119, allocations: 11.31 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.119, allocations: 0 / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.002492/1.122, allocations: 0.6419 MB / 1.358 GB, free: 30.79 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches