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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001172/0.001173, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01031/0.01031, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004319, allocations: 8 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.715, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001919/0.717, allocations: 1.219 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003574/0.7174, allocations: 139.6 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.7175, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.7175, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.7176, allocations: 7.938 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.7179, allocations: 65.16 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.718, allocations: 51.84 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.7181, allocations: 16 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.7182, allocations: 23.91 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.7183, allocations: 19.91 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.7183, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.7183, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.7184, allocations: 19.88 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.7184, allocations: 41.62 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.7185, allocations: 55.78 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7186, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7186, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7186, allocations: 4 kB / 1.025 GB, free: 14.16 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.0005192/0.7191, allocations: 369.3 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7192, allocations: 11.98 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.7192, allocations: 4.938 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.7194, allocations: 172.2 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.7195, allocations: 38.25 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.7195, allocations: 4.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.7197, allocations: 82.22 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7198, allocations: 3.938 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.7198, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7198, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.72, allocations: 59.89 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.7206, allocations: 328.8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.7208, allocations: 58.55 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.7209, allocations: 36.88 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.7209, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.721, allocations: 34.55 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.721, allocations: 4 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004075/0.7214, allocations: 113.5 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7214, allocations: 55.41 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.7215, allocations: 109.8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.7215, allocations: 25.7 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.7216, allocations: 95.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.7216, allocations: 11.83 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.7216, allocations: 17.72 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.7217, allocations: 318.7 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.7219, allocations: 35.91 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.722, allocations: 37.7 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.7222, allocations: 73.67 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7222, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002425/0.7224, allocations: 93.5 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7224, allocations: 12.03 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7225, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.7226, allocations: 15.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7226, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.7227, allocations: 15.98 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.7227, allocations: 0 / 1.027 GB, free: 11.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/0.7228, allocations: 118.3 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.7228, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.7228, allocations: 11.84 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7228, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7229, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7229, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.723, allocations: 189.5 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7231, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.7231, allocations: 16.11 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7232, allocations: 8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.7232, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7232, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7232, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.7235, allocations: 187.7 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.7235, allocations: 89 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.7236, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.7237, allocations: 11.98 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.7238, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.7238, allocations: 3.938 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.7238, allocations: 91.58 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7238, allocations: 7.938 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002317/0.7241, allocations: 8 kB / 1.027 GB, free: 10.89 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 (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.0001522/0.7242, allocations: 95.25 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.7245, allocations: 67.89 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7245, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.7246, allocations: 35.91 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.7249, allocations: 8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.7253, allocations: 156.6 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.7255, allocations: 0.6848 MB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.7256, allocations: 4 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.7256, allocations: 11.44 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7256, allocations: 0 / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of Templates: time 0.002905/0.7285, allocations: 0.7207 MB / 1.029 GB, free: 9.066 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