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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00104/0.00104, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.627/2.627, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7806, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001128/0.7817, allocations: 0.9849 MB / 0.9554 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.7821, allocations: 215.4 kB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.7822, allocations: 0 / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.7822, allocations: 0 / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.426e-05/0.7822, allocations: 0.9688 kB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.7825, allocations: 41.55 kB / 0.9557 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.7825, allocations: 19.98 kB / 0.9557 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.7826, allocations: 3.938 kB / 0.9557 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.7826, allocations: 8.625 kB / 0.9557 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.7827, allocations: 12.41 kB / 0.9557 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.7827, allocations: 1 kB / 0.9557 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.7828, allocations: 43.2 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.7828, allocations: 5.312 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.7829, allocations: 28.27 kB / 0.9558 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.783, allocations: 17.86 kB / 0.9558 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.783, allocations: 3.938 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.783, allocations: 0 / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.783, allocations: 4.844 kB / 0.9558 GB, free: 6.699 MB / 0.7169 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.0003552/0.7834, allocations: 343.3 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7834, allocations: 10.09 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.7836, allocations: 9.219 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.7837, allocations: 168.6 kB / 0.9563 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.7837, allocations: 0.8125 kB / 0.9563 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.7837, allocations: 6.562 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7839, allocations: 44.75 kB / 0.9564 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.7839, allocations: 1.375 kB / 0.9564 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7839, allocations: 0 / 0.9564 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.7839, allocations: 5.516 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.7839, allocations: 10.75 kB / 0.9564 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.7841, allocations: 163.1 kB / 0.9565 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.7842, allocations: 46.12 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.7842, allocations: 29.83 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.7843, allocations: 1.438 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7843, allocations: 30.56 kB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.7843, allocations: 1.469 kB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001872/0.7862, allocations: 496.9 kB / 0.9571 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.7862, allocations: 56.64 kB / 0.9572 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.515e-05/0.7862, allocations: 89.86 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.7863, allocations: 38.92 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.7863, allocations: 80.14 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.7863, allocations: 26.28 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.7864, allocations: 5.406 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.7864, allocations: 315.9 kB / 0.9577 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.7865, allocations: 18.84 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.7865, allocations: 27.39 kB / 0.9577 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.7866, allocations: 25.72 kB / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7866, allocations: 0 / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001444/0.7867, allocations: 91.78 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7868, allocations: 4.281 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7868, allocations: 1.25 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7868, allocations: 4 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.7869, allocations: 20.2 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.787, allocations: 5.109 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.787, allocations: 5.156 kB / 0.9579 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.787, allocations: 1.031 kB / 0.9579 GB, free: 4.637 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.7871, allocations: 120.2 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.7871, allocations: 7.875 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.7872, allocations: 11.97 kB / 0.958 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7872, allocations: 0 / 0.958 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7872, allocations: 4 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7872, allocations: 7.938 kB / 0.958 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.7873, allocations: 178.1 kB / 0.9582 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7873, allocations: 0 / 0.9582 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.7875, allocations: 14.73 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7875, allocations: 1.781 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.7875, allocations: 0 / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7875, allocations: 1.781 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7875, allocations: 0 / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.7877, allocations: 152.1 kB / 0.9584 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.7878, allocations: 79.39 kB / 0.9584 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7878, allocations: 0 / 0.9584 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7879, allocations: 12.73 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.7879, allocations: 6.562 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.788, allocations: 1.438 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.496e-05/0.788, allocations: 75.28 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.788, allocations: 1.469 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002305/0.7882, allocations: 16.86 kB / 0.9585 GB, free: 3.957 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.7883, allocations: 110.1 kB / 0.9587 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.7885, allocations: 60.38 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7885, allocations: 4.188 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.7886, allocations: 30.3 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7888, allocations: 11.22 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7892, allocations: 190.5 kB / 0.9589 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.226e-05/0.7893, allocations: 0.6844 MB / 0.9596 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.522e-05/0.7894, allocations: 10.17 kB / 0.9596 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.7895, allocations: 11.75 kB / 0.9596 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7895, allocations: 0 / 0.9596 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.002676/0.7922, allocations: 0.6352 MB / 0.9602 GB, free: 2.617 MB / 0.7169 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