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.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 190.6 kB / 16.14 MB, free: 6.699 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.619/2.619, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8085, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003655/0.8122, allocations: 1.315 MB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006891/0.8129, allocations: 243.2 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.813, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.8131, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.8131, allocations: 7.938 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.8134, allocations: 31.83 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.8135, allocations: 15.98 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.8136, allocations: 8 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.8136, allocations: 11.92 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.8137, allocations: 11.98 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.8137, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.8138, allocations: 47.95 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.8138, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8139, allocations: 11.94 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.814, allocations: 35.95 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8141, allocations: 3.938 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8141, allocations: 3.938 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8141, allocations: 0 / 1.018 GB, free: 1.031 MB / 0.7637 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.0004492/0.8145, allocations: 345.5 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.8146, allocations: 8.031 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.8148, allocations: 12.92 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.815, allocations: 164.3 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.815, allocations: 4.375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.815, allocations: 4.375 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8152, allocations: 46.25 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8152, allocations: 192 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.8152, allocations: 3.938 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8153, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.8154, allocations: 19.92 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.8156, allocations: 161.7 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.8158, allocations: 38.64 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.8158, allocations: 20.97 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.8158, allocations: 7.984 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.8159, allocations: 38.56 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.8159, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.002938/0.8189, allocations: 0.4903 MB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.8189, allocations: 55.34 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.819, allocations: 93.86 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.8191, allocations: 29.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.8191, allocations: 80.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.8192, allocations: 27.56 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.8193, allocations: 21.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.8195, allocations: 318.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.8195, allocations: 23.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.8196, allocations: 23.94 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.8198, allocations: 60.84 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8198, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002223/0.8201, allocations: 89.62 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8201, allocations: 15.88 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.8201, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8201, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.8203, allocations: 23.92 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.8203, allocations: 0 / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.8204, allocations: 0 / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8204, allocations: 4 kB / 1.02 GB, free: 14.56 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 0.0001112/0.8206, allocations: 110.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.8206, allocations: 11.84 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.8207, allocations: 11.97 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8207, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8207, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8207, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.8209, allocations: 179.5 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8209, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.8211, allocations: 15.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8211, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.8211, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8211, allocations: 288 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8211, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.8215, allocations: 149 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.8216, allocations: 85.39 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.8216, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.8218, allocations: 8.016 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.8218, allocations: 8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8218, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.8219, allocations: 79.28 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8219, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003296/0.8222, allocations: 12 kB / 1.021 GB, free: 13.79 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.0002592/0.8225, allocations: 103.3 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.8227, allocations: 67.91 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8227, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.8228, allocations: 35.92 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.8232, allocations: 4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.824, allocations: 196.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.8243, allocations: 0.6809 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.8244, allocations: 12 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.8244, allocations: 7.438 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8245, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of Templates: time 0.003574/0.828, allocations: 0.6689 MB / 1.023 GB, free: 12 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