Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009481, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005101/0.005101, allocations: 170.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 11.98 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.743, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001677/0.7448, allocations: 0.9837 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.7454, allocations: 235.3 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.7454, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.7455, allocations: 3.984 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.7455, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.7458, allocations: 31.84 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.7458, allocations: 15.98 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.7459, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.7459, allocations: 23.92 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.746, allocations: 7.984 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.746, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.7461, allocations: 47.95 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.7461, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.7462, allocations: 37.62 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.7464, allocations: 31.95 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7464, allocations: 3.938 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7464, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7464, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 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.0004358/0.7468, allocations: 341.5 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7469, allocations: 8.031 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.747, allocations: 12.92 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7472, allocations: 168.3 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.7472, allocations: 384 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.7472, allocations: 4.375 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.7474, allocations: 50.19 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7474, allocations: 4.188 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7474, allocations: 3.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7474, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.7475, allocations: 15.98 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.7477, allocations: 157.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.7478, allocations: 50.56 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.7478, allocations: 16.98 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.7478, allocations: 4 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.7479, allocations: 30.56 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.7479, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002285/0.7502, allocations: 0.4942 MB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.7503, allocations: 55.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.7504, allocations: 89.86 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.7504, allocations: 25.7 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7504, allocations: 88.12 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.7505, allocations: 31.55 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.7505, allocations: 13.72 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7506, allocations: 318.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.7507, allocations: 27.92 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.7507, allocations: 23.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.7508, allocations: 52.86 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.7509, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001507/0.751, allocations: 97.75 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.751, allocations: 11.88 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.751, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7511, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.7512, allocations: 15.98 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7512, allocations: 4.078 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.7513, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7513, allocations: 4.422 kB / 1.027 GB, free: 11.98 MB / 0.7794 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.48e-05/0.7514, allocations: 118.3 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7514, allocations: 7.844 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.7515, allocations: 15.97 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7515, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7515, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7515, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7517, allocations: 179.5 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7517, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.7518, allocations: 15.98 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.7518, allocations: 7.938 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.7518, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7518, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7518, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.7521, allocations: 145 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.7521, allocations: 85.14 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.7521, allocations: 8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7523, allocations: 7.984 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.7523, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.7523, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.7524, allocations: 75.28 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7524, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001923/0.7526, allocations: 16 kB / 1.027 GB, free: 11.21 MB / 0.7794 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.0001438/0.7527, allocations: 107.2 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.7529, allocations: 59.92 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7529, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.7529, allocations: 31.98 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.7531, allocations: 8.281 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.7537, allocations: 204.5 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.7541, allocations: 0.6809 MB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.7542, allocations: 15.94 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.7542, allocations: 11.44 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7542, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.002951/0.7572, allocations: 0.6618 MB / 1.029 GB, free: 9.422 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches