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.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.001514/0.001514, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001705/0.001705, allocations: 169 kB / 24.06 MB, free: 448 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.9691/0.9691, allocations: 177.1 MB / 204.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.102/2.102, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.562e-05, allocations: 7.906 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002154/0.002179, allocations: 1.556 MB / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.00247, allocations: 143.1 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.002518, allocations: 0 / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.002548, allocations: 3.938 kB / 0.881 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.002614, allocations: 10.55 kB / 0.881 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.002885, allocations: 64.72 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002991, allocations: 59.83 kB / 0.8811 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.003082, allocations: 17.7 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.003154, allocations: 39.91 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.003208, allocations: 15.97 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.003227, allocations: 4 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.003238, allocations: 8 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.003262, allocations: 12.95 kB / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.003287, allocations: 19.98 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003393, allocations: 43.88 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003395, allocations: 1.125 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003396, allocations: 0 / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.0034, allocations: 0 / 0.8813 GB, free: 4.055 MB / 0.8386 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.0003851/0.003785, allocations: 393.5 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003822, allocations: 12.03 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.003858, allocations: 14.02 kB / 0.8817 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.003948, allocations: 120.5 kB / 0.8818 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.004005, allocations: 51.97 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004015, allocations: 5.344 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004138, allocations: 96.62 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004144, allocations: 0.9062 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.004156, allocations: 12.36 kB / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.00416, allocations: 5.781 kB / 0.882 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.004185, allocations: 15.92 kB / 0.882 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.004531, allocations: 272.3 kB / 0.8823 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.004588, allocations: 39.55 kB / 0.8823 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.004607, allocations: 17.56 kB / 0.8823 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.004614, allocations: 0 / 0.8823 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.004637, allocations: 37.33 kB / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004638, allocations: 0 / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001187/0.004756, allocations: 58.86 kB / 0.8824 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.004783, allocations: 55.41 kB / 0.8825 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.004856, allocations: 165.9 kB / 0.8826 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.004869, allocations: 27.3 kB / 0.8826 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.004919, allocations: 142.8 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.004933, allocations: 11.84 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.00496, allocations: 19.38 kB / 0.8828 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.005078, allocations: 0.4923 MB / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.005091, allocations: 6.469 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.005115, allocations: 23.38 kB / 0.8833 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.005151, allocations: 31.3 kB / 0.8833 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005153, allocations: 0 / 0.8833 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.562e-05/0.005219, allocations: 49.78 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.005233, allocations: 17.92 kB / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.005239, allocations: 8 kB / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.005247, allocations: 0 / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.005306, allocations: 8 kB / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005309, allocations: 0 / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.00533, allocations: 12.03 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.005336, allocations: 3.984 kB / 0.8834 GB, free: 1.645 MB / 0.8386 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.568e-05/0.005402, allocations: 160.6 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.005422, allocations: 7.938 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.005441, allocations: 8 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005442, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.005444, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005447, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.005551, allocations: 109.2 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005552, allocations: 0 / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.005582, allocations: 12 kB / 0.8837 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005584, allocations: 3.938 kB / 0.8837 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.005589, allocations: 3.984 kB / 0.8837 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005591, allocations: 3.938 kB / 0.8837 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005593, allocations: 8.172 kB / 0.8837 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.0057, allocations: 195.9 kB / 0.8839 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.005707, allocations: 7.953 kB / 0.8839 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.005714, allocations: 0 / 0.8839 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.005764, allocations: 7.938 kB / 0.8839 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.005793, allocations: 7.984 kB / 0.884 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.0058, allocations: 0 / 0.884 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.005837, allocations: 131.5 kB / 0.8841 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005837, allocations: 0 / 0.8841 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001392/0.005976, allocations: 15.94 kB / 0.8841 GB, free: 0.918 MB / 0.8386 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 8.747e-05/0.006063, allocations: 95.25 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.82e-05/0.006131, allocations: 27.61 kB / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006133, allocations: 0 / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.006153, allocations: 15.69 kB / 0.8842 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.006341, allocations: 13.53 kB / 0.8842 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.006579, allocations: 138.2 kB / 0.8844 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.175e-05/0.006611, allocations: 59.34 kB / 0.8844 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.006636, allocations: 4 kB / 0.8844 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.00672, allocations: 90.16 kB / 0.8845 GB, free: 424 kB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.006721, allocations: 4 kB / 0.8845 GB, free: 420 kB / 0.8386 GB Notification: Performance of Templates: time 0.002488/0.009209, allocations: 0.9707 MB / 0.8855 GB, free: 15.46 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.2439122116193175]