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.001495/0.001495, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001488/0.001488, allocations: 170.6 kB / 22.46 MB, free: 5.355 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.847/2.847, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.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.473e-06/1.473e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.526e-05, allocations: 10.22 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002234/0.002259, allocations: 1.279 MB / 0.9827 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.002748, allocations: 207.3 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.002766, allocations: 0 / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.00278, allocations: 0 / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.002822, allocations: 3.984 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.003099, allocations: 47.75 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.003156, allocations: 11.94 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.003202, allocations: 11.97 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.003239, allocations: 11.98 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.003313, allocations: 15.92 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003328, allocations: 0 / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.003436, allocations: 43.95 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.003453, allocations: 4 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.003477, allocations: 7.922 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003615, allocations: 47.88 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003617, allocations: 3.938 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003618, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003622, allocations: 0 / 0.9831 GB, free: 10.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003889/0.004011, allocations: 270.3 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004047, allocations: 12.03 kB / 0.9834 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.004183, allocations: 8.938 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.004273, allocations: 105.8 kB / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.004286, allocations: 4.375 kB / 0.9835 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.00431, allocations: 4.375 kB / 0.9835 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.004452, allocations: 71.89 kB / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00446, allocations: 192 / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.00447, allocations: 384 / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.00448, allocations: 4.375 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/0.004534, allocations: 19.88 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.004687, allocations: 113.3 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.004793, allocations: 42.64 kB / 0.9837 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.004837, allocations: 24.97 kB / 0.9838 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.004848, allocations: 0 / 0.9838 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.004876, allocations: 30.56 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.004877, allocations: 0 / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.002197/0.007074, allocations: 428.9 kB / 0.9842 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.00712, allocations: 59.34 kB / 0.9843 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.007167, allocations: 93.8 kB / 0.9843 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.007189, allocations: 25.7 kB / 0.9844 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.007226, allocations: 80.14 kB / 0.9844 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.00727, allocations: 27.75 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.007321, allocations: 25.7 kB / 0.9845 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.00746, allocations: 318.8 kB / 0.9848 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.007513, allocations: 23.98 kB / 0.9848 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.007556, allocations: 20 kB / 0.9848 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.007681, allocations: 64.95 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.007682, allocations: 0 / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001611/0.007843, allocations: 93.62 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.007857, allocations: 6.344 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007861, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.007878, allocations: 4 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.008026, allocations: 12 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.008033, allocations: 7.875 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.008104, allocations: 7.984 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.008114, allocations: 4 kB / 0.985 GB, free: 8.043 MB / 0.9356 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 8.593e-05/0.0082, allocations: 109.8 kB / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.008217, allocations: 4 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.008262, allocations: 15.97 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008264, allocations: 0 / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.008271, allocations: 7.875 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008274, allocations: 0 / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.008397, allocations: 123.1 kB / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008399, allocations: 0 / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.008539, allocations: 16 kB / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.008544, allocations: 4 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.008553, allocations: 448 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008555, allocations: 0 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008555, allocations: 0 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.008829, allocations: 149 kB / 0.9854 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.008841, allocations: 12.02 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.008861, allocations: 7.984 kB / 0.9855 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.008974, allocations: 4 kB / 0.9855 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.008999, allocations: 7.984 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.009009, allocations: 8 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.009045, allocations: 75.28 kB / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.009046, allocations: 96 / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002051/0.009251, allocations: 19.94 kB / 0.9856 GB, free: 7.434 MB / 0.9356 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.0001141/0.009365, allocations: 99.25 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.009517, allocations: 55.92 kB / 0.9857 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009518, allocations: 0 / 0.9857 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.009581, allocations: 35.92 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.009802, allocations: 12.3 kB / 0.9858 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.01033, allocations: 160.8 kB / 0.9859 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.01038, allocations: 71.28 kB / 0.986 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.01045, allocations: 4 kB / 0.986 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.0105, allocations: 12.5 kB / 0.986 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.0105, allocations: 0 / 0.986 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.00336/0.01386, allocations: 0.7108 MB / 0.9867 GB, free: 6.277 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.8405495546758175]