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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001754/0.001754, allocations: 109.8 kB / 16.41 MB, free: 6.387 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.001608/0.001608, allocations: 185.3 kB / 17.34 MB, free: 5.84 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.542/1.542, 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 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.91 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9048, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.004807/0.9097, allocations: 1.5 MB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.9102, allocations: 123.7 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.9103, allocations: 4 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.9104, allocations: 11.92 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.9105, allocations: 3.938 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.9109, allocations: 71.83 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.9111, allocations: 55.84 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.9112, allocations: 23.95 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.9113, allocations: 27.92 kB / 1.228 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.9114, allocations: 19.92 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.9114, allocations: 4 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.9115, allocations: 8 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.9115, allocations: 19.92 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.9116, allocations: 27.84 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.9117, allocations: 52.8 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9118, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.604e-06/0.9118, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.9118, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 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.0007041/0.9125, allocations: 370.9 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9125, allocations: 12.03 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.9126, allocations: 8.891 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.9128, allocations: 176.2 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.9129, allocations: 30.27 kB / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.9129, allocations: 4.375 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.9132, allocations: 78.16 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.9132, allocations: 7.875 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.9132, allocations: 0 / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.9132, allocations: 0 / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.9134, allocations: 51.95 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.9142, allocations: 308.8 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.9143, allocations: 54.48 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.9144, allocations: 32.88 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.9145, allocations: 0 / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.9145, allocations: 34.56 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.9145, allocations: 0 / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003865/0.9149, allocations: 101.6 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.9149, allocations: 55.41 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.9151, allocations: 113.8 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.9151, allocations: 29.7 kB / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.9152, allocations: 88.08 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.9152, allocations: 15.97 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.9153, allocations: 17.72 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9154, allocations: 318.8 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.9155, allocations: 23.97 kB / 1.23 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.9156, allocations: 33.7 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.9158, allocations: 53.86 kB / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.9158, allocations: 4 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002272/0.916, allocations: 97.53 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9161, allocations: 5.562 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9161, allocations: 0 / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.9161, allocations: 0 / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.9162, allocations: 20.11 kB / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.9162, allocations: 0 / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.9163, allocations: 4 kB / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.9163, allocations: 7.984 kB / 1.23 GB, free: 9.242 MB / 0.9512 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.0001037/0.9164, allocations: 122.3 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.9164, allocations: 7.953 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.9165, allocations: 7.906 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9165, allocations: 0 / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9165, allocations: 0 / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.9165, allocations: 81.11 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.9166, allocations: 0 / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.9167, allocations: 11.92 kB / 1.23 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.9168, allocations: 11.98 kB / 1.231 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002686/0.917, allocations: 160.9 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003121/0.9174, allocations: 250.7 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001075/0.9175, allocations: 31.97 kB / 1.231 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.9175, allocations: 91.47 kB / 1.231 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of Backend: time 4.91e-07/0.9176, allocations: 0 / 1.231 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.918, allocations: 106.4 kB / 1.231 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006526/0.9187, allocations: 0.5841 MB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.003724/0.9224, allocations: 0.9391 MB / 1.233 GB, free: 6.754 MB / 0.9512 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