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.001429/0.001429, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001557/0.001557, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 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 2.845/2.845, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.703e-06/1.703e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.856e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002837/0.002866, allocations: 1.521 MB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.003287, allocations: 127.5 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.003347, allocations: 0 / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.003385, allocations: 7.938 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.003455, allocations: 7.922 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.00383, allocations: 59.84 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003975, allocations: 63.83 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.004112, allocations: 11.98 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.004205, allocations: 35.91 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.004272, allocations: 19.97 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.004307, allocations: 7.938 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.004325, allocations: 4 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.004362, allocations: 19.92 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.004401, allocations: 15.98 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.00456, allocations: 63.77 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.004563, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004564, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.00457, allocations: 4 kB / 0.9833 GB, free: 10.02 MB / 0.9356 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.0005941/0.005164, allocations: 298.2 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.005204, allocations: 8.031 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.005247, allocations: 8.891 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.005364, allocations: 121.6 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-05/0.005449, allocations: 51.97 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005462, allocations: 4.375 kB / 0.9838 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.005714, allocations: 103.9 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005724, allocations: 4.188 kB / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.005738, allocations: 384 / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005746, allocations: 8.125 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.005939, allocations: 43.95 kB / 0.9839 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.006555, allocations: 252.5 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.006703, allocations: 46.55 kB / 0.9842 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.006808, allocations: 28.94 kB / 0.9843 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.00682, allocations: 3.938 kB / 0.9843 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.006846, allocations: 30.56 kB / 0.9843 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.287e-06/0.006849, allocations: 4 kB / 0.9843 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003999/0.007249, allocations: 105.5 kB / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.007289, allocations: 51.41 kB / 0.9844 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.007398, allocations: 113.9 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.007421, allocations: 25.7 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.007486, allocations: 92.12 kB / 0.9847 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.007506, allocations: 11.84 kB / 0.9847 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.007549, allocations: 21.7 kB / 0.9847 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.007699, allocations: 318.8 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/0.007795, allocations: 19.98 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.007902, allocations: 41.69 kB / 0.9851 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.008101, allocations: 57.61 kB / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008103, allocations: 0 / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002552/0.008358, allocations: 101.5 kB / 0.9852 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.008372, allocations: 4 kB / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008376, allocations: 0 / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.008392, allocations: 0 / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.008503, allocations: 15.98 kB / 0.9852 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008508, allocations: 3.938 kB / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.008568, allocations: 4 kB / 0.9852 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.008573, allocations: 0 / 0.9852 GB, free: 7.848 MB / 0.9356 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.838e-05/0.008672, allocations: 117.8 kB / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.008707, allocations: 15.89 kB / 0.9854 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.008729, allocations: 4 kB / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008731, allocations: 0 / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008734, allocations: 0 / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.008737, allocations: 0 / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.008892, allocations: 117.5 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008893, allocations: 0 / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.008969, allocations: 11.98 kB / 0.9855 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008973, allocations: 3.938 kB / 0.9855 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.008982, allocations: 3.984 kB / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008985, allocations: 3.938 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008985, allocations: 4 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.009266, allocations: 175.6 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.009277, allocations: 7.953 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009296, allocations: 7.938 kB / 0.9857 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.009439, allocations: 11.98 kB / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.009474, allocations: 0 / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.009488, allocations: 7.984 kB / 0.9857 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.00954, allocations: 83.59 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.00954, allocations: 4 kB / 0.9858 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002453/0.009785, allocations: 12 kB / 0.9858 GB, free: 7.211 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.0001215/0.009906, allocations: 95.25 kB / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.01015, allocations: 55.83 kB / 0.986 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01015, allocations: 0 / 0.986 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01027, allocations: 27.97 kB / 0.986 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01058, allocations: 8.062 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.0109, allocations: 140.6 kB / 0.9861 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.01097, allocations: 71.34 kB / 0.9862 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01101, allocations: 4 kB / 0.9862 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.01103, allocations: 8.5 kB / 0.9862 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of SimCode: time 4.4e-07/0.01103, allocations: 0 / 0.9862 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.003454/0.01449, allocations: 0.8521 MB / 0.987 GB, free: 5.914 MB / 0.9356 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: 7.89337395504117]