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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_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_9_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.006228/0.006228, allocations: 102.1 kB / 15.73 MB, free: 6.449 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.001302/0.001302, allocations: 198.2 kB / 16.67 MB, free: 6.352 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.551/2.551, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.95 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3099, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002062/0.312, allocations: 1.261 MB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004645/0.3125, allocations: 231.6 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.3126, allocations: 0 / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.3126, allocations: 3.938 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.3126, allocations: 7.984 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3129, allocations: 39.83 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.313, allocations: 19.86 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.3131, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.3131, allocations: 11.98 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.3132, allocations: 11.98 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3132, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3133, allocations: 47.95 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3133, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3133, allocations: 7.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3135, allocations: 39.83 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3135, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3135, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3135, allocations: 3.984 kB / 1.09 GB, free: 15.84 MB / 0.8575 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.0003923/0.3139, allocations: 339.5 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3139, allocations: 8.031 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3141, allocations: 12.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.883e-05/0.3142, allocations: 160.4 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3142, allocations: 4.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3142, allocations: 4.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3143, allocations: 46.19 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3143, allocations: 192 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3144, allocations: 7.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3144, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.3144, allocations: 15.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3146, allocations: 169.6 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.3147, allocations: 38.64 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.3147, allocations: 24.97 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-06/0.3147, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3148, allocations: 42.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3148, allocations: 3.938 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002011/0.3168, allocations: 0.4903 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3168, allocations: 51.41 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.315e-05/0.3169, allocations: 93.86 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3169, allocations: 25.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.3169, allocations: 84.14 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.317, allocations: 27.73 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.317, allocations: 21.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.3171, allocations: 314.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.3172, allocations: 27.98 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.3172, allocations: 23.98 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3173, allocations: 64.73 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3173, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001368/0.3175, allocations: 89.62 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3175, allocations: 13.34 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3175, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3175, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3177, allocations: 15.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3177, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.3178, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3178, allocations: 4.281 kB / 1.092 GB, free: 13.37 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.016e-05/0.3179, allocations: 109.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3179, allocations: 11.89 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3179, allocations: 15.91 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3179, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.318, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.318, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.3181, allocations: 187.2 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3181, allocations: 7.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.3183, allocations: 15.98 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3183, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3183, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3183, allocations: 448 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3183, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.3185, allocations: 141.1 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.3186, allocations: 85 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3186, allocations: 12.06 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3187, allocations: 8.016 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3187, allocations: 7.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3187, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.3188, allocations: 75.28 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3188, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001945/0.319, allocations: 16 kB / 1.092 GB, free: 12.59 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.000112/0.3191, allocations: 103.2 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3193, allocations: 63.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3193, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.3193, allocations: 31.92 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3195, allocations: 8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.32, allocations: 174.5 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3202, allocations: 0.6807 MB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.3203, allocations: 11.94 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.3204, allocations: 11.44 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3204, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.002707/0.3231, allocations: 0.7069 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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