Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 194.5 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 68.06 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7845, allocations: 160.8 MB / 1.218 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003117/0.7876, allocations: 1.531 MB / 1.22 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000368/0.788, allocations: 127.6 kB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.788, allocations: 4 kB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.7881, allocations: 3.938 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.7881, allocations: 7.922 kB / 1.22 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.7884, allocations: 66.53 kB / 1.22 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.7886, allocations: 63.77 kB / 1.22 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.7887, allocations: 19.98 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.7888, allocations: 23.92 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.7888, allocations: 19.92 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.7889, allocations: 4 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.7889, allocations: 8 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.7889, allocations: 19.91 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.789, allocations: 27.86 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.7891, allocations: 50.53 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7891, allocations: 0 / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7891, allocations: 4 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7891, allocations: 0 / 1.22 GB, free: 2.453 MB / 0.92 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.0006141/0.7897, allocations: 371 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7897, allocations: 15.97 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.7898, allocations: 4.891 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.7899, allocations: 172.3 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.79, allocations: 34.25 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.79, allocations: 8.375 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.7903, allocations: 74.2 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.7903, allocations: 7.938 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.7903, allocations: 0 / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7903, allocations: 0 / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.7905, allocations: 47.89 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.7911, allocations: 324.7 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.7912, allocations: 46.62 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.7913, allocations: 28.92 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7914, allocations: 4 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.7914, allocations: 34.56 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7914, allocations: 0 / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003747/0.7918, allocations: 105.5 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7918, allocations: 51.41 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7919, allocations: 113.8 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7919, allocations: 29.7 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.792, allocations: 92.08 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.792, allocations: 11.91 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.7921, allocations: 21.7 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7922, allocations: 314.8 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.7923, allocations: 19.98 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.7924, allocations: 37.69 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.7926, allocations: 65.62 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7926, allocations: 0 / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002334/0.7928, allocations: 89.53 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7928, allocations: 4 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7928, allocations: 0 / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7929, allocations: 8.031 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.793, allocations: 15.98 kB / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.793, allocations: 0 / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.793, allocations: 4 kB / 1.222 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.793, allocations: 4 kB / 1.222 GB, free: 100 kB / 0.92 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.0001158/0.7932, allocations: 121.2 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.7932, allocations: 11.94 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.7932, allocations: 4 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7932, allocations: 4 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7932, allocations: 4 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7933, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.7935, allocations: 181.5 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7935, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.7936, allocations: 11.98 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7936, allocations: 3.938 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.7936, allocations: 4 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7936, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7936, allocations: 3.938 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.7939, allocations: 175.5 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.794, allocations: 89 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.794, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7941, allocations: 11.98 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.7942, allocations: 3.984 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.7942, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.7943, allocations: 95.27 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7943, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002347/0.7945, allocations: 8 kB / 1.223 GB, free: 15.29 MB / 0.9356 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.0001516/0.7947, allocations: 103.5 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.7949, allocations: 59.81 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7949, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.795, allocations: 28.05 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.7953, allocations: 4.109 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.7957, allocations: 129.5 kB / 1.223 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.7961, allocations: 0.6884 MB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.877e-05/0.7962, allocations: 8 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.7962, allocations: 11.44 kB / 1.224 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.7962, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.003626/0.7998, allocations: 0.8231 MB / 1.225 GB, free: 13.39 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.46056454256177]