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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001717/0.001717, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002271/0.002272, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8372, allocations: 140.4 MB / 0.9491 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003191/0.8405, allocations: 1.562 MB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.8409, allocations: 128.3 kB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.841, allocations: 0 / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.841, allocations: 3.938 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.8411, allocations: 4.859 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.8415, allocations: 62.17 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.8417, allocations: 57.75 kB / 0.9509 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.8418, allocations: 23.55 kB / 0.9509 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.8419, allocations: 23.73 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.842, allocations: 25.03 kB / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.842, allocations: 5.219 kB / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.842, allocations: 5.344 kB / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.8421, allocations: 14.11 kB / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.8421, allocations: 26.72 kB / 0.951 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.8422, allocations: 52.45 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8423, allocations: 0 / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8423, allocations: 1.5 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.8423, allocations: 4 kB / 0.951 GB, free: 7.758 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.0005654/0.8429, allocations: 376.6 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.8429, allocations: 9.938 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.843, allocations: 3.531 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8431, allocations: 174.7 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.8432, allocations: 38.25 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.8432, allocations: 3.938 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.8435, allocations: 75.92 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8435, allocations: 5.25 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.8435, allocations: 4 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.8435, allocations: 1.094 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.8437, allocations: 45.45 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.8444, allocations: 322 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.8445, allocations: 42.03 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.8446, allocations: 34.45 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.8446, allocations: 1.438 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.8447, allocations: 35.97 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.8447, allocations: 3.938 kB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000399/0.8451, allocations: 96.08 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.8451, allocations: 56.89 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.8452, allocations: 107.6 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.8452, allocations: 26.73 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.8453, allocations: 97.67 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.8453, allocations: 14.03 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.8454, allocations: 13.81 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.8454, allocations: 327.6 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.8455, allocations: 19.33 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.8456, allocations: 39.31 kB / 0.9529 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.8458, allocations: 59.75 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8458, allocations: 0 / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.8461, allocations: 90.23 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8461, allocations: 4.531 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8461, allocations: 1.5 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8461, allocations: 4 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.8462, allocations: 18.7 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8462, allocations: 0 / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.8463, allocations: 4.562 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.8463, allocations: 6.031 kB / 0.9531 GB, free: 5.73 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 6.228e-05/0.8464, allocations: 112.2 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.8464, allocations: 6.062 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.8464, allocations: 17.05 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8465, allocations: 1.172 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8465, allocations: 0 / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8465, allocations: 5.078 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.8466, allocations: 175.6 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8466, allocations: 0 / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.8467, allocations: 12.83 kB / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8467, allocations: 0 / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8467, allocations: 9.125 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8467, allocations: 0 / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8467, allocations: 0.9375 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.847, allocations: 173.5 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.847, allocations: 82.33 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.847, allocations: 1.25 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.8472, allocations: 14.27 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.8472, allocations: 5.266 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8472, allocations: 6.688 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.8473, allocations: 93.84 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8473, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002287/0.8475, allocations: 11.28 kB / 0.9538 GB, free: 5 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.987e-05/0.8476, allocations: 98.41 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.8478, allocations: 61.23 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8479, allocations: 4.062 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.848, allocations: 23.36 kB / 0.954 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.8483, allocations: 11.14 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.8486, allocations: 152.4 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.8488, allocations: 0.6907 MB / 0.9548 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.575e-05/0.8488, allocations: 11.52 kB / 0.9548 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.8488, allocations: 10.44 kB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8488, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.003226/0.8521, allocations: 0.7437 MB / 0.9556 GB, free: 3.609 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches