Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004608/0.004608, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.0011/0.0011, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.72 kB / 0.9504 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2688, allocations: 140.4 MB / 1.087 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002167/0.271, allocations: 1.254 MB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.2715, allocations: 243.6 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.2715, allocations: 0 / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2716, allocations: 0 / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.2716, allocations: 3.938 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.2719, allocations: 43.81 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.2719, allocations: 15.94 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.272, allocations: 3.984 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.272, allocations: 15.92 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2721, allocations: 11.98 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2721, allocations: 4 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2722, allocations: 39.97 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2723, allocations: 7.922 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2723, allocations: 8 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2724, allocations: 42.7 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2724, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2724, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.2724, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 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.0003492/0.2728, allocations: 335.6 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2728, allocations: 8.031 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.2729, allocations: 38.75 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.273, allocations: 8.922 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.2731, allocations: 161 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2731, allocations: 4.375 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.2731, allocations: 384 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2732, allocations: 46.25 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2733, allocations: 7.875 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2733, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2733, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.2733, allocations: 19.97 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.2735, allocations: 154 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.2736, allocations: 38.64 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.2736, allocations: 24.97 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2736, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2737, allocations: 38.56 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.2737, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002007/0.2757, allocations: 0.5021 MB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2757, allocations: 55.41 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.067e-05/0.2758, allocations: 89.86 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2758, allocations: 25.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.2758, allocations: 80.14 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2759, allocations: 31.53 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2759, allocations: 21.7 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.276, allocations: 318.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2761, allocations: 23.98 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.2761, allocations: 24 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2762, allocations: 60.84 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2762, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001425/0.2764, allocations: 97.53 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2764, allocations: 7.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2764, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2764, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2766, allocations: 15.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2766, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.2767, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2767, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 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 7.05e-05/0.2767, allocations: 113.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.2768, allocations: 3.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.2768, allocations: 15.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2768, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2768, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2768, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.277, allocations: 175.5 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.277, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2771, allocations: 23.86 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2771, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2771, allocations: 8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2772, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2772, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.2774, allocations: 137.1 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2774, allocations: 84.95 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2775, allocations: 8.094 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2776, allocations: 7.984 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.2776, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2776, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.2776, allocations: 79.22 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2776, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002325/0.2779, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 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.0004685/0.2784, allocations: 0.6944 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2785, allocations: 55.92 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2785, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.2786, allocations: 32.22 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2788, allocations: 5.578 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2801, allocations: 1.288 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.2804, allocations: 0.6768 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.233e-05/0.2804, allocations: 12 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2805, allocations: 11.44 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2805, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2975, allocations: 1.651 MB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.711, allocations: 19.44 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches