Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001523/0.001523, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001792/0.001792, allocations: 214.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476 MB / 0.7707 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 73.03 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002787/0.3381, allocations: 1.511 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.3385, allocations: 127.7 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3385, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.3385, allocations: 7.875 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.3386, allocations: 7.922 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3389, allocations: 61.27 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.339, allocations: 63.83 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3392, allocations: 15.98 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.3392, allocations: 27.92 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.3393, allocations: 15.92 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3393, allocations: 8 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.3393, allocations: 4 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.3394, allocations: 19.91 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.3394, allocations: 19.92 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3395, allocations: 59.73 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3395, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3395, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3395, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 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.0005591/0.3401, allocations: 302.1 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3401, allocations: 8.031 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.3402, allocations: 8.875 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3403, allocations: 118.4 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.3404, allocations: 63.95 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3404, allocations: 4.375 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3407, allocations: 91.92 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3407, allocations: 7.938 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3407, allocations: 8 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3407, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3409, allocations: 43.95 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.3415, allocations: 260.3 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3416, allocations: 42.56 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.3417, allocations: 36.92 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3417, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3418, allocations: 34.56 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3418, allocations: 0 / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003733/0.3421, allocations: 93.58 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3422, allocations: 59.34 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3423, allocations: 105.8 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3423, allocations: 29.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.3424, allocations: 97.88 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3424, allocations: 15.84 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.3424, allocations: 13.72 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3426, allocations: 322.8 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.3427, allocations: 19.98 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.3428, allocations: 33.69 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.343, allocations: 73.73 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.343, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.3432, allocations: 81.59 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3432, allocations: 5.875 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3432, allocations: 128 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3432, allocations: 7.984 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.3433, allocations: 12 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3433, allocations: 4.031 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.3434, allocations: 11.94 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3434, allocations: 4.312 kB / 1.288 GB, free: 7.871 MB / 0.9825 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 9.404e-05/0.3435, allocations: 117.8 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3435, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3436, allocations: 8 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3436, allocations: 7.984 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3436, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3436, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3437, allocations: 121.2 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3437, allocations: 7.938 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.3438, allocations: 11.98 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3438, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3438, allocations: 4 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3438, allocations: 3.938 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3438, allocations: 0 / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3441, allocations: 179.4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.3441, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3441, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3442, allocations: 15.98 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3443, allocations: 7.922 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3443, allocations: 4 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.3443, allocations: 91.25 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3443, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002232/0.3446, allocations: 8 kB / 1.288 GB, free: 7.234 MB / 0.9825 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.000107/0.3447, allocations: 99.25 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3449, allocations: 55.89 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3449, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.345, allocations: 19.98 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3453, allocations: 17.81 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3456, allocations: 170.1 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.3457, allocations: 67.33 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.3457, allocations: 11.5 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3457, allocations: 4 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of Templates: time 0.002506/0.3482, allocations: 0.8612 MB / 1.289 GB, free: 5.883 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.1157082230784]