Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 165 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9477/0.9477, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.76 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.228e-05, allocations: 7.281 kB / 0.76 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003049/0.003071, allocations: 1.559 MB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003614/0.003433, allocations: 144.2 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.003483, allocations: 0 / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.003517, allocations: 5.672 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.003585, allocations: 7.828 kB / 0.7617 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.003908, allocations: 64.7 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.004049, allocations: 63.84 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.004148, allocations: 17.36 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.004245, allocations: 37.92 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.004305, allocations: 13.41 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.004332, allocations: 4 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.004346, allocations: 9.422 kB / 0.7619 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.004375, allocations: 13.83 kB / 0.7619 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.004406, allocations: 23.19 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.004529, allocations: 42.56 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004531, allocations: 0 / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004532, allocations: 3.938 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004536, allocations: 0.7812 kB / 0.7619 GB, free: 4.738 MB / 0.7136 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.0004039/0.00494, allocations: 261.8 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.004978, allocations: 8.031 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.005018, allocations: 16.92 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.005115, allocations: 118.2 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.00518, allocations: 52.69 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.005198, allocations: 4.375 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.005349, allocations: 97.78 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005357, allocations: 192 / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.005369, allocations: 4.375 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005378, allocations: 9.156 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.005407, allocations: 4 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.005796, allocations: 188.7 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.005858, allocations: 36.41 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.005882, allocations: 12.84 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.005891, allocations: 0 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.005918, allocations: 34.56 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.005919, allocations: 1.219 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001369/0.006056, allocations: 53.66 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.006088, allocations: 51.41 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.006163, allocations: 115.4 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.00618, allocations: 25.7 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.00622, allocations: 89.09 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.006239, allocations: 15.84 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.006276, allocations: 18.45 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.006374, allocations: 318.8 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.006389, allocations: 0.75 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.006422, allocations: 21.7 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.00647, allocations: 26.89 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006472, allocations: 0 / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.446e-05/0.006556, allocations: 50.62 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.006571, allocations: 11.88 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006577, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.006592, allocations: 6.531 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.006678, allocations: 11.98 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.006682, allocations: 3.938 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.006716, allocations: 7.953 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006721, allocations: 128 / 0.7635 GB, free: 2.922 MB / 0.7136 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 7.817e-05/0.006799, allocations: 116.3 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.006831, allocations: 3.984 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.006858, allocations: 15.94 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006861, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.006862, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006866, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.007009, allocations: 77.88 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007011, allocations: 1.719 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.007055, allocations: 8 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007058, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.007063, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.007065, allocations: 4 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.007069, allocations: 9.219 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.007189, allocations: 135.5 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.007199, allocations: 4.938 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.00721, allocations: 0 / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.007293, allocations: 4 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.00733, allocations: 13.17 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.00734, allocations: 4 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.007363, allocations: 20.81 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007363, allocations: 2.75 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002425/0.007605, allocations: 11.94 kB / 0.764 GB, free: 2.457 MB / 0.7136 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.47e-05/0.0077, allocations: 76.42 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.007781, allocations: 29.06 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.007786, allocations: 4 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.00781, allocations: 19.34 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.008009, allocations: 10.17 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.008303, allocations: 140.3 kB / 0.7642 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.008348, allocations: 63.34 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.008384, allocations: 6.375 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.008495, allocations: 67.34 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.008496, allocations: 3.938 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.003033/0.01153, allocations: 0.8705 MB / 0.7652 GB, free: 1.16 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.782787160947919]