Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0007657/0.0007657, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001777, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006967/0.0006967, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008943/0.001591, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9566/0.9566, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0935/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.506/2.506, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2593/2.765, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.431e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003432/0.003456, allocations: 1.773 MB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.004303, allocations: 410.5 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.004385, allocations: 4 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.004469, allocations: 15.8 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.004525, allocations: 19.8 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.004941, allocations: 123.5 kB / 0.8206 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.005124, allocations: 107.5 kB / 0.8207 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005252, allocations: 35.97 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.005399, allocations: 63.83 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.005479, allocations: 31.89 kB / 0.8208 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.005506, allocations: 8 kB / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.005669, allocations: 63.94 kB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.005694, allocations: 11.94 kB / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.005732, allocations: 24 kB / 0.8209 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.005968, allocations: 103.6 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-05/0.005986, allocations: 0 / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.173e-06/0.005988, allocations: 0 / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.079e-05/0.006008, allocations: 0 / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006519/0.00666, allocations: 344 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.006704, allocations: 12.03 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.006981, allocations: 117.9 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.00717, allocations: 130.8 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.007236, allocations: 55.97 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.007258, allocations: 12.38 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.007441, allocations: 120.5 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00745, allocations: 4.188 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.007463, allocations: 8.312 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007471, allocations: 4.125 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.007551, allocations: 27.98 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.008288, allocations: 228 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.008718, allocations: 122.4 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.008753, allocations: 12.86 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.008764, allocations: 4 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.008793, allocations: 34.56 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.008795, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001805/0.008975, allocations: 65.61 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.00901, allocations: 51.41 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.009102, allocations: 125.7 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.009122, allocations: 29.7 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.009179, allocations: 100 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.009206, allocations: 31.73 kB / 0.8226 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.009255, allocations: 17.7 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.009357, allocations: 318.8 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.009381, allocations: 11.98 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.009418, allocations: 25.7 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.009481, allocations: 38.11 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.009485, allocations: 3.938 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001112/0.009596, allocations: 61.66 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.009614, allocations: 8.031 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.00962, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.009631, allocations: 4 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.00973, allocations: 15.94 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.009734, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.009781, allocations: 7.984 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.00979, allocations: 8 kB / 0.8231 GB, free: 13.81 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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 7.947e-05/0.009869, allocations: 113.8 kB / 0.8232 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.009904, allocations: 4 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.009941, allocations: 20.42 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009944, allocations: 4 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009946, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.009949, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.0101, allocations: 81.88 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.0101, allocations: 0 / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.01019, allocations: 23.92 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.0102, allocations: 15.81 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0102, allocations: 3.938 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01021, allocations: 8 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01021, allocations: 0 / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01022, allocations: 0 / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.01036, allocations: 163.5 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.01037, allocations: 0 / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01047, allocations: 8 kB / 0.8235 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.01051, allocations: 7.984 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.01052, allocations: 0 / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.01055, allocations: 16.84 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01055, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002212/0.01077, allocations: 27.95 kB / 0.8235 GB, free: 13.27 MB / 0.8073 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 (7): * Single equations (assignments): 7 * 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.0001182/0.01089, allocations: 80.36 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.011, allocations: 36.83 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.01101, allocations: 4 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.01105, allocations: 24.78 kB / 0.8237 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.01133, allocations: 31.98 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.01258, allocations: 216.6 kB / 0.8239 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.01263, allocations: 59.34 kB / 0.824 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.557e-05/0.01269, allocations: 11.94 kB / 0.824 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.01283, allocations: 79.33 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.01283, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.004718/0.01755, allocations: 1.498 MB / 0.8255 GB, free: 11.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.387290922924876]