Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007892/0.0007892, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009878/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.0007139/0.0007139, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001612, 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.9816/0.9816, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09661/1.078, 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.399/2.399, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2522/2.651, 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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.763e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001773/0.00179, allocations: 1.366 MB / 0.8197 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.002099, allocations: 231.2 kB / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.012e-05/0.002109, allocations: 0 / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.273e-06/0.002116, allocations: 3.938 kB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.542e-05/0.002132, allocations: 0 / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.002276, allocations: 51.67 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.002326, allocations: 12 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.002359, allocations: 11.94 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.002398, allocations: 7.984 kB / 0.82 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.002459, allocations: 11.98 kB / 0.82 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.00247, allocations: 0 / 0.82 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.00257, allocations: 47.94 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.002579, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.002592, allocations: 8 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.002696, allocations: 35.86 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.00271, allocations: 0 / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00271, allocations: 0 / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.006022/0.008732, allocations: 3.938 kB / 0.8201 GB, free: 1.094 MB / 0.7917 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.0003671/0.009099, allocations: 248.6 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.009131, allocations: 8.625 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.009297, allocations: 97.95 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.248e-05/0.00936, allocations: 105.8 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.00937, allocations: 384 / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.009387, allocations: 4.375 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.009482, allocations: 67.94 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.009489, allocations: 192 / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.009497, allocations: 4.375 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.009502, allocations: 4.375 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.009534, allocations: 11.88 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.049e-05/0.009624, allocations: 65.05 kB / 0.8206 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.009701, allocations: 34.56 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.009724, allocations: 17.05 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.009731, allocations: 0 / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.009754, allocations: 30.56 kB / 0.8207 GB, free: 300 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.009755, allocations: 0 / 0.8207 GB, free: 300 kB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.001329/0.01108, allocations: 465.1 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.01112, allocations: 63.33 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.968e-05/0.01115, allocations: 89.86 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.01116, allocations: 25.7 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.01118, allocations: 80.14 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01122, allocations: 27.75 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.01126, allocations: 29.69 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.01135, allocations: 318.8 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.01137, allocations: 12.19 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.01139, allocations: 12 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.01145, allocations: 48.77 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01145, allocations: 0 / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.777e-05/0.01154, allocations: 69.67 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01156, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01156, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.01157, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/0.01768, allocations: 19.94 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01768, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.01771, allocations: 11.94 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.01772, allocations: 7.984 kB / 0.822 GB, free: 14.94 MB / 0.8073 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 6.259e-05/0.01779, allocations: 105.8 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.0178, allocations: 8 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.01783, allocations: 11.97 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01784, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01784, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01784, allocations: 4 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.01793, allocations: 85.81 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01793, allocations: 0 / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.01801, allocations: 20 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.01802, allocations: 3.953 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01802, allocations: 3.938 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01803, allocations: 4 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01803, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01803, allocations: 3.984 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01817, allocations: 109 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.01819, allocations: 0 / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.01824, allocations: 8 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.01825, allocations: 7.922 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.01826, allocations: 8.031 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.533e-06/0.01827, allocations: 4.859 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01827, allocations: 0 / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001398/0.0184, allocations: 12 kB / 0.8223 GB, free: 14.5 MB / 0.8073 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 9.547e-05/0.0185, allocations: 88.34 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.0186, allocations: 44.84 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.0186, allocations: 0 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.01864, allocations: 36.92 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.01874, allocations: 19.94 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.01955, allocations: 172.5 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.01958, allocations: 55.36 kB / 0.8227 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.01964, allocations: 4 kB / 0.8227 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.01971, allocations: 67.36 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.01971, allocations: 0 / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.008596/0.0283, allocations: 0.8031 MB / 0.8236 GB, free: 13.22 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck/Buildings_latest_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: 5.2531044678762555]