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.001048/0.001048, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002199, allocations: 449.7 kB / 10.37 MB, free: 328 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.001103/0.001103, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002549, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9449/0.9449, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09224/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.923/1.923, allocations: 378.2 MB / 0.6076 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4918/2.415, allocations: 123.3 MB / 0.728 GB, free: 5.848 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.653e-06/1.653e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.686e-05, allocations: 5.125 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001757/0.001784, allocations: 1.35 MB / 0.7307 GB, free: 3.195 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.002095, allocations: 241.4 kB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.002106, allocations: 0.6875 kB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.414e-06/0.002114, allocations: 0 / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.804e-05/0.002132, allocations: 3.766 kB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.002287, allocations: 40.38 kB / 0.7309 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.002344, allocations: 14.83 kB / 0.731 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.002387, allocations: 6.984 kB / 0.731 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.002437, allocations: 16.75 kB / 0.731 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.002517, allocations: 8.641 kB / 0.731 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.002534, allocations: 0.875 kB / 0.731 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.002638, allocations: 51.89 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.00265, allocations: 0.5469 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.002668, allocations: 9.594 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.002788, allocations: 42.38 kB / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.002804, allocations: 0 / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002805, allocations: 0 / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.002819, allocations: 0.6562 kB / 0.7311 GB, free: 2.793 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.0004181/0.003237, allocations: 241.3 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.003275, allocations: 12.72 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.003465, allocations: 95.69 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.383e-05/0.003529, allocations: 102.6 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.003542, allocations: 4.375 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.003562, allocations: 4.375 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.00367, allocations: 64.77 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.003677, allocations: 192 / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.003689, allocations: 4.375 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.003695, allocations: 4.875 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.003732, allocations: 21.38 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.773e-05/0.00382, allocations: 65.03 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.003896, allocations: 36.42 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.003914, allocations: 12.84 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.003921, allocations: 4 kB / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.00394, allocations: 31.44 kB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.003941, allocations: 0 / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001085/0.005026, allocations: 461.1 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.005056, allocations: 55.41 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.029e-05/0.005086, allocations: 89.86 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005097, allocations: 25.7 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.005119, allocations: 84.12 kB / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.005153, allocations: 32.23 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.005191, allocations: 22.27 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.005281, allocations: 324.5 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.005299, allocations: 12 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.005316, allocations: 12 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.005367, allocations: 44.91 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.005367, allocations: 0.9688 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.694e-05/0.005434, allocations: 78.47 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.005446, allocations: 8.062 kB / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005451, allocations: 0 / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.005459, allocations: 0 / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.005541, allocations: 21.03 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005544, allocations: 0 / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.005567, allocations: 3.938 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005571, allocations: 0.5625 kB / 0.733 GB, free: 0.6797 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.556e-05/0.005627, allocations: 124.5 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.005636, allocations: 4 kB / 0.7331 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.005665, allocations: 11.97 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.005666, allocations: 0 / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.005668, allocations: 0 / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005671, allocations: 1.219 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.005738, allocations: 77.84 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.00574, allocations: 3.984 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.005808, allocations: 20.88 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.005814, allocations: 4.938 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005815, allocations: 0.75 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.005821, allocations: 0.6562 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005823, allocations: 8 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.005824, allocations: 0.75 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.005944, allocations: 117 kB / 0.7333 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005955, allocations: 5 kB / 0.7333 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.005992, allocations: 8 kB / 0.7333 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.006008, allocations: 5.172 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006013, allocations: 1.094 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of sorting global known variables: time 7.373e-06/0.006021, allocations: 12.8 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.006021, allocations: 2.281 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of remove unused functions: time 9.619e-05/0.006117, allocations: 12 kB / 0.7334 GB, free: 232 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 6.95e-05/0.006186, allocations: 80.42 kB / 0.7335 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.597e-05/0.006272, allocations: 48.83 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.006278, allocations: 0 / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.006308, allocations: 39.22 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.164e-05/0.006399, allocations: 11.94 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.00717, allocations: 168.2 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.007207, allocations: 60.28 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.753e-05/0.007255, allocations: 7.062 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.007328, allocations: 63.36 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.007329, allocations: 0 / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002716/0.01005, allocations: 0.7789 MB / 0.7346 GB, free: 15 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.827797151170671]