Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008872/0.0008873, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001133/0.001133, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.651/2.651, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 0.8728 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7234, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001409/0.7249, allocations: 1.011 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.7259, allocations: 0.6397 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.726, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.726, allocations: 3.984 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.726, allocations: 7.922 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.7264, allocations: 87.7 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.7264, allocations: 31.8 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.7265, allocations: 11.92 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.7265, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.7266, allocations: 15.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.7266, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.7269, allocations: 155.7 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.7269, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.7269, allocations: 33.69 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.7271, allocations: 97.78 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7271, allocations: 8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7271, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.7271, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004119/0.7276, allocations: 351.4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7276, allocations: 8.031 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.728, allocations: 28.91 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7281, allocations: 176.2 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.7281, allocations: 384 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.7282, allocations: 4.375 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.7283, allocations: 58.16 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7284, allocations: 192 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.7284, allocations: 3.938 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7284, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.7285, allocations: 27.97 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.7287, allocations: 161.7 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.729, allocations: 70.5 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.7291, allocations: 32.94 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7291, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7292, allocations: 34.55 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.7292, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003391/0.7326, allocations: 0.5759 MB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7326, allocations: 51.41 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.7327, allocations: 101.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.7327, allocations: 25.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.7328, allocations: 84.12 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.7328, allocations: 23.73 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.7329, allocations: 13.84 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.733, allocations: 322.8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.7331, allocations: 31.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.7332, allocations: 39.91 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.7335, allocations: 84.81 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.7335, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000349/0.7339, allocations: 121.5 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7339, allocations: 7.938 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7339, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7339, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.7342, allocations: 23.97 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7342, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.7343, allocations: 11.94 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7344, allocations: 7.984 kB / 1.027 GB, free: 10.96 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 (7): * Single equations (assignments): 7 * 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.59e-05/0.7345, allocations: 106.4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.7345, allocations: 15.88 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.7345, allocations: 7.969 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7346, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7346, allocations: 3.984 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7346, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.7347, allocations: 203.5 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7347, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.735, allocations: 23.97 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.735, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.735, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.735, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.735, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.7356, allocations: 193 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.7356, allocations: 84.95 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.7356, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.7358, allocations: 16.08 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.7359, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.7359, allocations: 3.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.7359, allocations: 79.28 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.7359, allocations: 3.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002466/0.7362, allocations: 32 kB / 1.028 GB, free: 10.1 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 (6): * Single equations (assignments): 6 * 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.0001912/0.7364, allocations: 127.2 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.7367, allocations: 87.97 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7367, allocations: 4 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.7369, allocations: 48.08 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.7371, allocations: 11.94 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.7378, allocations: 178.9 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.738, allocations: 0.677 MB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.7382, allocations: 31.92 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.7383, allocations: 15.42 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7383, allocations: 0 / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.004009/0.7423, allocations: 1.472 MB / 1.031 GB, free: 7.441 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches