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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6939, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002386/0.6963, allocations: 1.558 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.6966, allocations: 128.6 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.6967, allocations: 1.375 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.6967, allocations: 3.938 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.6968, allocations: 9.312 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.6971, allocations: 67.97 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.6972, allocations: 57.53 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.6973, allocations: 14.52 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.6974, allocations: 32.28 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.6974, allocations: 17.27 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.6975, allocations: 2.688 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.6975, allocations: 7.719 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.6975, allocations: 14.19 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.6976, allocations: 21.67 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.289e-05/0.6976, allocations: 33.81 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6976, allocations: 1.438 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6977, allocations: 3.984 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6977, allocations: 0 / 0.9515 GB, free: 7.695 MB / 0.7169 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.0004766/0.6981, allocations: 377.6 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6982, allocations: 12.66 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.6982, allocations: 4.031 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.6983, allocations: 174.7 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.6984, allocations: 34.05 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.6984, allocations: 2.969 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.6986, allocations: 77.34 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6986, allocations: 3.938 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6987, allocations: 5.25 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6987, allocations: 1.031 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.6988, allocations: 53.73 kB / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.6994, allocations: 313.9 kB / 0.9525 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.6995, allocations: 48.77 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.6996, allocations: 31.28 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.6996, allocations: 1.281 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.6997, allocations: 36.12 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6997, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003319/0.7, allocations: 104.5 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.7, allocations: 52.91 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.7001, allocations: 108 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7001, allocations: 25.7 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.7002, allocations: 94.39 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.7002, allocations: 18.3 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.7002, allocations: 17.16 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.7003, allocations: 319.7 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.7004, allocations: 23.78 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.7005, allocations: 35.61 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.7007, allocations: 58.61 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7007, allocations: 4 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.7009, allocations: 87.16 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7009, allocations: 4.969 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7009, allocations: 0 / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7009, allocations: 1.094 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.701, allocations: 14.14 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.701, allocations: 1.75 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.7011, allocations: 7.109 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.7011, allocations: 9.438 kB / 0.9536 GB, free: 5.668 MB / 0.7169 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 5.629e-05/0.7012, allocations: 112.3 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.7012, allocations: 7.344 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.7012, allocations: 7.906 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7012, allocations: 1.062 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7012, allocations: 0 / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.7012, allocations: 4.812 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.7014, allocations: 175.1 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7014, allocations: 5.031 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.7015, allocations: 24.3 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7015, allocations: 1.062 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7015, allocations: 0 / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7015, allocations: 1.125 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7015, allocations: 0 / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.7017, allocations: 173.3 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.7017, allocations: 90.72 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7017, allocations: 5.906 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.7019, allocations: 8.984 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.7019, allocations: 2.688 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.7019, allocations: 1 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.702, allocations: 90.36 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.702, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002196/0.7022, allocations: 7.531 kB / 0.9542 GB, free: 4.945 MB / 0.7169 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 9.155e-05/0.7023, allocations: 104.6 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7025, allocations: 52.05 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7025, allocations: 1.125 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.7026, allocations: 26.25 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.7029, allocations: 8.031 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.7032, allocations: 187.9 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.7033, allocations: 0.6857 MB / 0.9553 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.7033, allocations: 9.938 kB / 0.9553 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7033, allocations: 0 / 0.9553 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.001987/0.7053, allocations: 0.8509 MB / 0.9561 GB, free: 3.477 MB / 0.7169 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches