Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007236/0.007236, allocations: 96.45 kB / 15.73 MB, free: 6 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.001492/0.001492, allocations: 189.3 kB / 16.67 MB, free: 5.93 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002296/0.3478, allocations: 1.25 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.3484, allocations: 241 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.3484, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.3484, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.3484, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3487, allocations: 43.77 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.3488, allocations: 15.98 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3489, allocations: 4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.3489, allocations: 11.94 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.349, allocations: 15.97 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.349, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3491, allocations: 43.95 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3491, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.3491, allocations: 11.94 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3493, allocations: 43.88 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3493, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3493, allocations: 3.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3493, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 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.0005105/0.3498, allocations: 341.3 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.3498, allocations: 8.031 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3501, allocations: 12.92 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3502, allocations: 160.4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3502, allocations: 384 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.3502, allocations: 12.36 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3504, allocations: 42.25 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3504, allocations: 192 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3504, allocations: 7.938 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3504, allocations: 4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.3505, allocations: 11.98 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.3507, allocations: 169.7 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.3509, allocations: 38.56 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.3509, allocations: 16.98 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3509, allocations: 7.938 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3509, allocations: 34.56 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.351, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.002195/0.3531, allocations: 0.5023 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3532, allocations: 51.41 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.589e-05/0.3532, allocations: 93.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3532, allocations: 25.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.3533, allocations: 88.12 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3533, allocations: 27.73 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.3534, allocations: 25.72 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3535, allocations: 310.8 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.3535, allocations: 32.05 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.3536, allocations: 23.98 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3537, allocations: 52.86 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3537, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001413/0.3538, allocations: 93.62 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3539, allocations: 9.656 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3539, allocations: 7.938 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3539, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.354, allocations: 15.98 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.354, allocations: 4.219 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.3541, allocations: 8 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3541, allocations: 4 kB / 1.224 GB, free: 9.656 MB / 0.9825 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.18e-05/0.3542, allocations: 110.3 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.3542, allocations: 11.94 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.3543, allocations: 11.97 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3543, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3543, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3543, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3544, allocations: 179.5 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3544, allocations: 4 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3546, allocations: 19.98 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3546, allocations: 3.938 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3546, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3546, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3546, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3548, allocations: 145 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3549, allocations: 85.08 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3549, allocations: 4.062 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.355, allocations: 11.98 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.355, allocations: 4 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.355, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.3551, allocations: 75.28 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3551, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001949/0.3552, allocations: 12 kB / 1.225 GB, free: 8.891 MB / 0.9825 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.0001309/0.3554, allocations: 111.2 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3555, allocations: 55.92 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3555, allocations: 0 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.3556, allocations: 31.92 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3558, allocations: 11.98 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3563, allocations: 176.2 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3566, allocations: 0.6845 MB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.3567, allocations: 15.94 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.3567, allocations: 11.44 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3567, allocations: 0 / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.003005/0.3597, allocations: 0.7116 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches