Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0015/0.0015, allocations: 112.7 kB / 16.38 MB, free: 5.957 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.001629/0.001629, allocations: 190.2 kB / 17.31 MB, free: 5.582 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.6/2.6, allocations: 442.6 MB / 0.7166 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.66 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002647/0.3375, allocations: 1.256 MB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.3381, allocations: 241.6 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.3382, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.3382, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.3383, allocations: 3.938 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3386, allocations: 43.83 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.3387, allocations: 23.91 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.3387, allocations: 4 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.3388, allocations: 4 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.3389, allocations: 15.92 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3389, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.339, allocations: 43.95 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.339, allocations: 0 / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.339, allocations: 15.92 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3392, allocations: 39.95 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3392, allocations: 3.938 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3392, allocations: 4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3392, allocations: 0 / 1.028 GB, free: 304 kB / 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.0004521/0.3397, allocations: 331.5 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3397, allocations: 8.031 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.3399, allocations: 12.92 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.34, allocations: 160.4 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.34, allocations: 384 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3401, allocations: 8.375 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3402, allocations: 46.25 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3402, allocations: 192 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3402, allocations: 3.938 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3402, allocations: 3.938 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.3403, allocations: 19.92 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.3405, allocations: 161.7 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3406, allocations: 42.56 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.3406, allocations: 20.98 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3407, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3407, allocations: 34.56 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3407, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.001967/0.3427, allocations: 0.5058 MB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3427, allocations: 51.41 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.3428, allocations: 89.86 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3428, allocations: 33.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.3428, allocations: 84.05 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.3429, allocations: 27.64 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.3429, allocations: 21.72 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3431, allocations: 310.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.3431, allocations: 23.98 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.3432, allocations: 27.98 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3433, allocations: 64.92 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3433, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001436/0.3434, allocations: 85.59 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3435, allocations: 11.94 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3435, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3435, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3436, allocations: 19.92 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3436, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.3437, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3437, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 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 9.987e-05/0.3438, allocations: 113.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.3439, allocations: 7.938 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3439, allocations: 11.97 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3439, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3439, allocations: 7.984 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.344, allocations: 81.11 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.344, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3441, allocations: 8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3442, allocations: 7.922 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002663/0.3444, allocations: 176.9 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003135/0.3448, allocations: 298.6 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.481e-05/0.3448, allocations: 28.02 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.3449, allocations: 75.28 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Backend: time 2e-07/0.3449, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3454, allocations: 138.3 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0004948/0.3459, allocations: 0.5779 MB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.003643/0.3495, allocations: 1.152 MB / 1.033 GB, free: 11.11 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches