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.001587/0.001587, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001755/0.001755, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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 3.232/3.232, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002163/0.002163, allocations: 75.7 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3491, allocations: 180.2 MB / 1.354 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002748/0.3518, allocations: 1.539 MB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.3522, allocations: 131.6 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3522, allocations: 0 / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.3522, allocations: 3.938 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.3523, allocations: 3.938 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.3526, allocations: 78.69 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3527, allocations: 59.84 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3528, allocations: 15.98 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.3529, allocations: 23.92 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.353, allocations: 27.89 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.353, allocations: 8 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.353, allocations: 4 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.353, allocations: 11.94 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.3531, allocations: 23.86 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3532, allocations: 55.78 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3532, allocations: 4 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3532, allocations: 4 kB / 1.356 GB, free: 6.008 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3532, allocations: 0 / 1.356 GB, free: 6.008 MB / 1.045 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.0005335/0.3537, allocations: 302.1 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3538, allocations: 8.031 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3538, allocations: 8.891 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3539, allocations: 114.5 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.354, allocations: 59.91 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.354, allocations: 4.375 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3542, allocations: 78.22 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3542, allocations: 7.875 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3542, allocations: 0 / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3543, allocations: 4 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.3544, allocations: 47.89 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.3551, allocations: 291.8 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3552, allocations: 50.55 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.3553, allocations: 24.94 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3553, allocations: 0 / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3553, allocations: 38.5 kB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3553, allocations: 0 / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003602/0.3557, allocations: 101.8 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3557, allocations: 55.41 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.3558, allocations: 109.8 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3559, allocations: 25.7 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.3559, allocations: 92.14 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3559, allocations: 11.84 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.356, allocations: 21.7 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3561, allocations: 318.8 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.3562, allocations: 15.98 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.3563, allocations: 49.62 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3565, allocations: 61.66 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3565, allocations: 0 / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002196/0.3567, allocations: 85.55 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3567, allocations: 8 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3567, allocations: 0 / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3567, allocations: 4.031 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3568, allocations: 19.98 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3568, allocations: 320 / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.3569, allocations: 4 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3569, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 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.367e-05/0.357, allocations: 126.4 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.357, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.3571, allocations: 8 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3571, allocations: 4 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3571, allocations: 0 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3571, allocations: 0 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3573, allocations: 160.5 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.3573, allocations: 15.92 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3573, allocations: 3.938 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3573, allocations: 4 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3576, allocations: 175.5 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3576, allocations: 7.953 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3576, allocations: 0 / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3578, allocations: 7.984 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3578, allocations: 7.984 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3578, allocations: 0 / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.3579, allocations: 99.25 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3579, allocations: 0 / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002301/0.3581, allocations: 12 kB / 1.359 GB, free: 3.125 MB / 1.045 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.0001154/0.3582, allocations: 95.19 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3584, allocations: 51.89 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3585, allocations: 4 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3586, allocations: 24.05 kB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3589, allocations: 10.34 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.3592, allocations: 155.2 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3595, allocations: 0.6846 MB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3596, allocations: 11.44 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3596, allocations: 0 / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of Templates: time 0.002647/0.3622, allocations: 0.8635 MB / 1.36 GB, free: 1.164 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.12698759601335]