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.001912/0.001912, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.002021/0.002021, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 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 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.082/3.082, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.403e-06/1.403e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.766e-05, allocations: 2.938 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002845/0.002873, allocations: 1.519 MB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.003233, allocations: 135.5 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.003276, allocations: 0 / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.003304, allocations: 4.625 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.003374, allocations: 11.88 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.003668, allocations: 68.78 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003785, allocations: 56.5 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.003873, allocations: 12.55 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.003971, allocations: 43.89 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.004025, allocations: 13.08 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004052, allocations: 8 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.004068, allocations: 4 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.004099, allocations: 16.86 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.004137, allocations: 19.91 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004271, allocations: 64.97 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004273, allocations: 0 / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004273, allocations: 0 / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004277, allocations: 1.469 kB / 0.8127 GB, free: 176 kB / 0.7605 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.000575/0.004852, allocations: 388.2 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.004897, allocations: 12.03 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.004953, allocations: 14.42 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.005076, allocations: 120.5 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.005165, allocations: 59.95 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.005183, allocations: 8.375 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.00557, allocations: 89.78 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.005579, allocations: 192 / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005591, allocations: 384 / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005597, allocations: 4.125 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.005732, allocations: 37.31 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.006334, allocations: 311.6 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006458, allocations: 47.64 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.006537, allocations: 29.77 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.006554, allocations: 7.938 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.006592, allocations: 37.39 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006593, allocations: 0 / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003117/0.006904, allocations: 82.14 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.006946, allocations: 52.12 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.007088, allocations: 173.9 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.007111, allocations: 27.11 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.0072, allocations: 142.8 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.007221, allocations: 15.84 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.007269, allocations: 23.38 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002533/0.007522, allocations: 0.489 MB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.007584, allocations: 13.06 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.007661, allocations: 35.36 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.007807, allocations: 68.2 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007809, allocations: 4.656 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001821/0.007991, allocations: 70.91 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.008007, allocations: 4 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.008014, allocations: 7.938 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.008028, allocations: 4.797 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.008108, allocations: 8 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008113, allocations: 0.9375 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.008156, allocations: 8 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.008161, allocations: 1.469 kB / 0.815 GB, free: 13.59 MB / 0.7761 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.0001176/0.008279, allocations: 160.6 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.008315, allocations: 15.89 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.008341, allocations: 8.969 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008343, allocations: 0 / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.008345, allocations: 0 / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.008347, allocations: 6.312 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.008516, allocations: 124.6 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008517, allocations: 0 / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.008578, allocations: 11.98 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.008582, allocations: 3.938 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.008589, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00859, allocations: 3.438 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.008593, allocations: 7.938 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.008861, allocations: 219.9 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.008868, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008882, allocations: 3.938 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.008983, allocations: 4 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.009026, allocations: 11.98 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.009034, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.009121, allocations: 136 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009121, allocations: 0 / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002112/0.009332, allocations: 8 kB / 0.8157 GB, free: 12.82 MB / 0.7761 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 0.0001165/0.009449, allocations: 96.31 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.009645, allocations: 53.47 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009646, allocations: 0 / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.009722, allocations: 27.67 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.009982, allocations: 22.19 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.01032, allocations: 147.2 kB / 0.816 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.663e-05/0.0104, allocations: 75.66 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.01044, allocations: 5.281 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.01047, allocations: 12.5 kB / 0.8161 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01047, allocations: 3.875 kB / 0.8161 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.003665/0.01414, allocations: 0.8521 MB / 0.817 GB, free: 11.51 MB / 0.7761 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.969713954953477]