Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.0007968/0.0007968, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001878, allocations: 449.8 kB / 10.44 MB, free: 252 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.001019/0.001019, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002386, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9325/0.9325, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0883/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.985/1.985, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5078/2.493, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.538e-05, allocations: 9.406 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002105/0.00213, allocations: 1.351 MB / 0.731 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.002437, allocations: 245.4 kB / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.152e-05/0.002449, allocations: 0 / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.925e-06/0.002456, allocations: 5.469 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.839e-05/0.002475, allocations: 1.406 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.005641, allocations: 32.38 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.0057, allocations: 20 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.00574, allocations: 4.984 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.005788, allocations: 17.75 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.005858, allocations: 7.984 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.00587, allocations: 1.531 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005977, allocations: 43.91 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.00599, allocations: 5.453 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.006005, allocations: 4.656 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.006125, allocations: 41.77 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.006139, allocations: 4.594 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00614, allocations: 0 / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.006153, allocations: 1.781 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003419/0.006495, allocations: 241.2 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.006535, allocations: 13.12 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.006707, allocations: 93.97 kB / 0.7317 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.006769, allocations: 106.8 kB / 0.7318 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.006779, allocations: 4.375 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.006799, allocations: 384 / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.006891, allocations: 73.66 kB / 0.7319 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.006898, allocations: 5.281 kB / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.006905, allocations: 384 / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.00691, allocations: 384 / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.006939, allocations: 19.86 kB / 0.7319 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.626e-05/0.007025, allocations: 61.86 kB / 0.732 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.117e-05/0.007096, allocations: 35.12 kB / 0.732 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.007116, allocations: 18.53 kB / 0.7321 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.007124, allocations: 4 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.007147, allocations: 34.69 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 6.41e-07/0.007148, allocations: 0 / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001312/0.008459, allocations: 456.4 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.008487, allocations: 59.41 kB / 0.7326 GB, free: 1.293 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.008612, allocations: 89.86 kB / 0.7327 GB, free: 1.195 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008626, allocations: 26.92 kB / 0.7327 GB, free: 1.164 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.008647, allocations: 80.14 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.008685, allocations: 35.72 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.008722, allocations: 14.84 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.008808, allocations: 331.3 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.008831, allocations: 12 kB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.008853, allocations: 12.94 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.008914, allocations: 40.97 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.008915, allocations: 0.5 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.99e-05/0.009005, allocations: 66.5 kB / 0.7333 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.009018, allocations: 12.73 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009023, allocations: 0 / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009035, allocations: 0.75 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.00913, allocations: 19.94 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.009132, allocations: 0.8125 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.009164, allocations: 3.938 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.009171, allocations: 5.375 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 5.462e-05/0.009225, allocations: 110.5 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.00924, allocations: 7.984 kB / 0.7334 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.009271, allocations: 17.22 kB / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009273, allocations: 0 / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.009274, allocations: 0 / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.009277, allocations: 1.219 kB / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.077e-05/0.009357, allocations: 82.81 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009359, allocations: 448 / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.009445, allocations: 27.92 kB / 0.7335 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.00945, allocations: 5.203 kB / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009454, allocations: 4 kB / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.009461, allocations: 0 / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009463, allocations: 5.031 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009464, allocations: 0 / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.009611, allocations: 117 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.009622, allocations: 1.391 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.009668, allocations: 6.75 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.009686, allocations: 7.984 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.009692, allocations: 0 / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of sorting global known variables: time 7.283e-06/0.009699, allocations: 8.859 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009699, allocations: 0 / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001425/0.009842, allocations: 8 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (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 Backend phase and start with SimCode phase: time 0.0001085/0.00995, allocations: 92.16 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.01003, allocations: 45.83 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.01003, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.01006, allocations: 38.58 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.01017, allocations: 16.55 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.01083, allocations: 178.1 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.01086, allocations: 61.58 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.01091, allocations: 6.531 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.01098, allocations: 63.36 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.01098, allocations: 0 / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.002191/0.01317, allocations: 0.7904 MB / 0.7349 GB, free: 14.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852498558349907]