Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009592/0.0009592, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0009217/0.0009217, allocations: 165.8 kB / 24.87 MB, free: 8.832 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.9653/0.9653, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.803/1.803, allocations: 359 MB / 0.6063 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.268e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001577/0.00159, allocations: 1.308 MB / 0.7896 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003584/0.001948, allocations: 228.9 kB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.001966, allocations: 1.906 kB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.001982, allocations: 3.938 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.002015, allocations: 0 / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.00224, allocations: 44.44 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.002284, allocations: 15.98 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.137e-05/0.002315, allocations: 4.812 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.002354, allocations: 15.92 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.00242, allocations: 13.19 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.002431, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.002502, allocations: 39.91 kB / 0.79 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.002518, allocations: 11.98 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.127e-05/0.00253, allocations: 1.406 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.002622, allocations: 47.88 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002624, allocations: 0 / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.71e-07/0.002624, allocations: 5 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002627, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 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.0002678/0.002895, allocations: 357.8 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.002924, allocations: 8.031 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.003031, allocations: 25.14 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.177e-05/0.003082, allocations: 110.2 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.003091, allocations: 4.375 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.003105, allocations: 4.328 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.00318, allocations: 67.95 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.003186, allocations: 5.922 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.003192, allocations: 384 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003196, allocations: 4.375 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.00322, allocations: 15.88 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.312e-05/0.003314, allocations: 101.3 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.003381, allocations: 45.61 kB / 0.7907 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.003399, allocations: 19.67 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.003407, allocations: 4 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.003426, allocations: 33.39 kB / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.003427, allocations: 0 / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0009784/0.004405, allocations: 413.4 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.004429, allocations: 55.41 kB / 0.7912 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/0.004466, allocations: 150.2 kB / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004478, allocations: 25.7 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.004507, allocations: 135.5 kB / 0.7915 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.004537, allocations: 28.66 kB / 0.7916 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.00457, allocations: 27.36 kB / 0.7916 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.004678, allocations: 0.4884 MB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.004698, allocations: 13.94 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.004718, allocations: 15.98 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.004772, allocations: 51.61 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004772, allocations: 4 kB / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.024e-05/0.004853, allocations: 69.69 kB / 0.7922 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004864, allocations: 14.14 kB / 0.7922 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004868, allocations: 0 / 0.7922 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.004874, allocations: 0 / 0.7922 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.004947, allocations: 19.94 kB / 0.7923 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004949, allocations: 0 / 0.7923 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.004977, allocations: 3.938 kB / 0.7923 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.004982, allocations: 4.531 kB / 0.7923 GB, free: 7.992 MB / 0.7448 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.728e-05/0.005039, allocations: 161.2 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.005051, allocations: 7.953 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.005078, allocations: 20.47 kB / 0.7924 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.00508, allocations: 5.594 kB / 0.7924 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005081, allocations: 0 / 0.7924 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005085, allocations: 3.938 kB / 0.7924 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.684e-05/0.005162, allocations: 107.3 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005163, allocations: 0.5312 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.005225, allocations: 19.92 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005226, allocations: 0.9062 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.005233, allocations: 4.438 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005234, allocations: 0.8438 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005234, allocations: 0 / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.005373, allocations: 141.9 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.005377, allocations: 3.953 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.005387, allocations: 0 / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.005429, allocations: 8.531 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.005442, allocations: 3.984 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.005447, allocations: 4.75 kB / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.581e-05/0.005473, allocations: 119.2 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005473, allocations: 1.688 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001238/0.005597, allocations: 12 kB / 0.7929 GB, free: 7.332 MB / 0.7448 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 7.233e-05/0.005669, allocations: 103.2 kB / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.005758, allocations: 68.39 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005759, allocations: 0 / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.005788, allocations: 39.08 kB / 0.7931 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.005904, allocations: 10.34 kB / 0.7931 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.006337, allocations: 181.1 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.767e-05/0.006365, allocations: 63.36 kB / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.678e-05/0.006411, allocations: 10.3 kB / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.006476, allocations: 78.2 kB / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.006477, allocations: 0 / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.002082/0.008558, allocations: 0.7754 MB / 0.7941 GB, free: 6.02 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.942269484046847]