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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001174/0.001174, allocations: 112.6 kB / 16.37 MB, free: 6 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.001167/0.001167, allocations: 196 kB / 17.31 MB, free: 5.613 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.201/2.201, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 56.31 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2583, allocations: 151.7 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00206/0.2604, allocations: 1.252 MB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004431/0.2608, allocations: 231.3 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.2609, allocations: 7.938 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.2609, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.2609, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.2612, allocations: 43.81 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.2612, allocations: 19.92 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2613, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.2613, allocations: 7.984 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.2614, allocations: 15.92 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.2614, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.2615, allocations: 43.97 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.2615, allocations: 3.984 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2615, allocations: 8 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2616, allocations: 43.89 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2617, allocations: 3.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2617, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2617, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 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.0003486/0.262, allocations: 339.4 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2621, allocations: 12.92 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2622, allocations: 8.938 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.2623, allocations: 168.3 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2623, allocations: 384 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2623, allocations: 8.375 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.2624, allocations: 46.25 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.2624, allocations: 192 / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2624, allocations: 3.938 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2625, allocations: 0 / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.2625, allocations: 15.98 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.2626, allocations: 165.7 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.2627, allocations: 42.52 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.2628, allocations: 20.97 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.2628, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2628, allocations: 30.56 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.2628, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001846/0.2647, allocations: 0.5019 MB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.2647, allocations: 51.41 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.881e-05/0.2648, allocations: 97.86 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2648, allocations: 29.7 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.2648, allocations: 80.14 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.2648, allocations: 27.56 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.2649, allocations: 21.7 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.265, allocations: 310.8 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.265, allocations: 27.92 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.2651, allocations: 24 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.2652, allocations: 68.97 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2652, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001256/0.2653, allocations: 89.62 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2653, allocations: 7.938 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2653, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2653, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2655, allocations: 12 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2655, allocations: 0 / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.2655, allocations: 11.98 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-06/0.2655, allocations: 0 / 1.023 GB, free: 5.707 MB / 0.795 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.785e-05/0.2656, allocations: 121.8 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2656, allocations: 7.844 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.2657, allocations: 15.95 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2657, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2657, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2657, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.2658, allocations: 179.5 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2658, allocations: 448 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2659, allocations: 12 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.266, allocations: 11.92 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.266, allocations: 4 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.266, allocations: 4 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.266, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.2662, allocations: 141 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2662, allocations: 88.89 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2663, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2664, allocations: 8.031 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.2664, allocations: 12.05 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2664, allocations: 4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.043e-05/0.2664, allocations: 75.28 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2664, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001764/0.2666, allocations: 12 kB / 1.023 GB, free: 4.922 MB / 0.795 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.428e-05/0.2667, allocations: 103.3 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2669, allocations: 67.84 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2669, allocations: 4 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.2669, allocations: 28 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.2671, allocations: 7.984 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.2676, allocations: 174.9 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2678, allocations: 0.6807 MB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.064e-05/0.2678, allocations: 11.94 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.2679, allocations: 11.44 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.2679, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of Templates: time 0.002311/0.2702, allocations: 0.693 MB / 1.025 GB, free: 3.133 MB / 0.795 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 -s cvode -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/jenkins1/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