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.0009952/0.0009952, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009937/0.0009937, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 18.57 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.9764/0.9764, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.294/2.294, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.964e-06/1.964e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.764e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00202/0.002037, allocations: 1.317 MB / 0.8911 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.002444, allocations: 235.2 kB / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.002468, allocations: 0 / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.002488, allocations: 0 / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.002529, allocations: 7.922 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.002798, allocations: 39.83 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.002867, allocations: 15.92 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.002913, allocations: 4 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.002963, allocations: 15.97 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.003049, allocations: 4 kB / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.003067, allocations: 0 / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.003171, allocations: 47.89 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.00319, allocations: 7.984 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.003208, allocations: 11.92 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003326, allocations: 43.89 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.003329, allocations: 7.984 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.8e-07/0.00333, allocations: 0 / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003333, allocations: 0 / 0.8915 GB, free: 7.984 MB / 0.8542 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.0003331/0.003666, allocations: 360.3 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.003714, allocations: 8.625 kB / 0.8918 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.003847, allocations: 16.86 kB / 0.8918 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.003917, allocations: 112.6 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.00393, allocations: 384 / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.003948, allocations: 8.375 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.004041, allocations: 63.95 kB / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.004048, allocations: 192 / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004055, allocations: 4.375 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004061, allocations: 384 / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.004087, allocations: 15.92 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.004206, allocations: 101.3 kB / 0.8921 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.004281, allocations: 46.97 kB / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.004301, allocations: 19.88 kB / 0.8922 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.00431, allocations: 4 kB / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.004337, allocations: 37.39 kB / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.004338, allocations: 0 / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.000949/0.005287, allocations: 417.3 kB / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.00531, allocations: 55.41 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.782e-05/0.005348, allocations: 154.1 kB / 0.8928 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.005363, allocations: 29.7 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.005388, allocations: 126.9 kB / 0.893 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.005419, allocations: 31.72 kB / 0.893 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.00545, allocations: 23.38 kB / 0.893 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.005555, allocations: 0.4884 MB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.005576, allocations: 15.98 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.005596, allocations: 15.98 kB / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.385e-05/0.00565, allocations: 47.69 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005651, allocations: 0 / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.868e-05/0.005729, allocations: 85.62 kB / 0.8937 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.005739, allocations: 4 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005743, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.005755, allocations: 448 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.005828, allocations: 19.92 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.00583, allocations: 0 / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.005858, allocations: 11.94 kB / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005863, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 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 0.0003613/0.006224, allocations: 160.6 kB / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.006235, allocations: 0 / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.006266, allocations: 19.97 kB / 0.8939 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.006268, allocations: 4 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.00627, allocations: 0 / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006274, allocations: 3.938 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.034e-05/0.006354, allocations: 115.2 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006355, allocations: 0 / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.006413, allocations: 12 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006414, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.00642, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006421, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006422, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.006562, allocations: 148.2 kB / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.006567, allocations: 11.97 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.006576, allocations: 0 / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.006614, allocations: 4 kB / 0.8942 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.00663, allocations: 7.984 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006634, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.00666, allocations: 119.2 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00666, allocations: 0 / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001169/0.006777, allocations: 16 kB / 0.8943 GB, free: 4.789 MB / 0.8542 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.788e-05/0.006844, allocations: 95.25 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.006934, allocations: 71.53 kB / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006935, allocations: 0 / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.006961, allocations: 35.61 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.007078, allocations: 4 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.007501, allocations: 174.2 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.007528, allocations: 63.34 kB / 0.8947 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.007572, allocations: 8 kB / 0.8947 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.007636, allocations: 82.19 kB / 0.8948 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.007637, allocations: 0 / 0.8948 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.002151/0.009788, allocations: 0.7891 MB / 0.8956 GB, free: 3.469 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.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.252164005767554]