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.009249/0.009249, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.002129/0.002129, allocations: 191 kB / 16.67 MB, free: 5.934 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.423/1.423, 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 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3301, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002145/0.3323, allocations: 1.254 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.3328, allocations: 243.6 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.3328, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.3328, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.3329, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3332, allocations: 47.75 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.3332, allocations: 12 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.3333, allocations: 7.984 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.3333, allocations: 7.984 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.3334, allocations: 19.92 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3334, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3335, allocations: 39.97 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3335, allocations: 3.984 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3336, allocations: 11.94 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3337, allocations: 39.89 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3337, allocations: 3.938 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3337, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3337, allocations: 3.938 kB / 1.168 GB, free: 5.086 MB / 0.92 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.0004233/0.3341, allocations: 335.5 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3342, allocations: 16.02 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3343, allocations: 4.938 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.3344, allocations: 164.4 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3344, allocations: 8.375 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3345, allocations: 384 / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3346, allocations: 42.25 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3346, allocations: 192 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3346, allocations: 3.938 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3346, allocations: 8 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.3347, allocations: 19.88 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3349, allocations: 161.6 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.335, allocations: 42.62 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.335, allocations: 20.97 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.335, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3351, allocations: 42.56 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3351, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001888/0.337, allocations: 498 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.337, allocations: 59.34 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.596e-05/0.3371, allocations: 97.84 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3371, allocations: 25.7 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.3371, allocations: 80.14 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3372, allocations: 27.75 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.3372, allocations: 21.7 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.3373, allocations: 318.8 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.3374, allocations: 23.98 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.3374, allocations: 20 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3375, allocations: 60.98 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3375, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000143/0.3377, allocations: 97.61 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3377, allocations: 7.938 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3377, allocations: 0 / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3377, allocations: 0 / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3379, allocations: 15.94 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3379, allocations: 4 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.3379, allocations: 4.438 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3379, allocations: 3.984 kB / 1.17 GB, free: 2.625 MB / 0.92 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 8.4e-05/0.338, allocations: 117.8 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3381, allocations: 3.938 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.3381, allocations: 11.97 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3381, allocations: 4 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3381, allocations: 4 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3381, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3383, allocations: 179.5 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3383, allocations: 4 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3384, allocations: 12 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3384, allocations: 3.938 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3384, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3384, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3384, allocations: 3.984 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3387, allocations: 145 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.3387, allocations: 81.05 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3388, allocations: 12.09 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3389, allocations: 4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.3389, allocations: 3.984 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.3389, allocations: 4 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.3389, allocations: 75.28 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001931/0.3391, allocations: 12 kB / 1.171 GB, free: 1.852 MB / 0.92 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.00011/0.3393, allocations: 107.2 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3394, allocations: 67.94 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3394, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.3395, allocations: 31.94 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3397, allocations: 11.98 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.3402, allocations: 183.9 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3405, allocations: 0.6807 MB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.3405, allocations: 15.94 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3406, allocations: 11.44 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.3406, allocations: 0 / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of Templates: time 0.002568/0.3432, allocations: 0.6881 MB / 1.173 GB, free: 48 kB / 0.92 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