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.001659/0.001659, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00205/0.00205, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002082/0.002082, allocations: 76.94 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002763/0.354, allocations: 1.509 MB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.3543, allocations: 127.7 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.3543, allocations: 4 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.3544, allocations: 3.938 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.3544, allocations: 3.938 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.3547, allocations: 66.45 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3548, allocations: 55.84 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.355, allocations: 23.91 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.355, allocations: 27.92 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.3551, allocations: 19.92 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3551, allocations: 4 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.3551, allocations: 8 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3552, allocations: 11.92 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3552, allocations: 27.91 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3554, allocations: 51.91 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3554, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3554, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3554, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 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.0005298/0.3559, allocations: 310.1 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3559, allocations: 8.031 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.356, allocations: 8.891 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3561, allocations: 118.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-05/0.3562, allocations: 63.95 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3562, allocations: 384 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3564, allocations: 95.92 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3564, allocations: 7.938 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3565, allocations: 8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3565, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3566, allocations: 47.89 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.3573, allocations: 248.4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3574, allocations: 42.55 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3575, allocations: 36.92 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3576, allocations: 7.984 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3576, allocations: 34.5 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3576, allocations: 0 / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003957/0.358, allocations: 93.64 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3581, allocations: 55.41 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3582, allocations: 105.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3582, allocations: 25.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.3583, allocations: 96.08 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3583, allocations: 19.92 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3584, allocations: 13.72 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3586, allocations: 322.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3587, allocations: 19.98 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3588, allocations: 37.62 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.359, allocations: 61.62 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.359, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002204/0.3592, allocations: 85.53 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3592, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3592, allocations: 3.938 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3592, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3593, allocations: 11.98 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3593, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3594, allocations: 11.94 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3594, allocations: 8.031 kB / 1.329 GB, free: 13.77 MB / 1.029 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.0001154/0.3595, allocations: 114.3 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3595, allocations: 4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.3596, allocations: 8 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3596, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3596, allocations: 3.984 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3596, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3598, allocations: 121.2 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3598, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.3598, allocations: 19.92 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3598, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3598, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3598, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3598, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.3601, allocations: 175.5 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.3601, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3602, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3603, allocations: 11.98 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.3603, allocations: 7.984 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3604, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.3604, allocations: 91.56 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3604, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002273/0.3606, allocations: 11.95 kB / 1.33 GB, free: 13.13 MB / 1.029 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.0001723/0.3608, allocations: 103.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3611, allocations: 48.23 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3611, allocations: 4.062 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.3612, allocations: 27.92 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3615, allocations: 12.11 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3619, allocations: 133.5 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.362, allocations: 63.34 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.362, allocations: 11.98 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.3621, allocations: 11.44 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3621, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Templates: time 0.00396/0.366, allocations: 0.8727 MB / 1.331 GB, free: 11.81 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] 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: 8.843584585934877]