Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_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_9_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.001563/0.001563, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002361/0.002362, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.611/1.611, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.625/2.625, allocations: 390.2 MB / 0.6646 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 63.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9802, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002631/0.9829, allocations: 1.283 MB / 0.9508 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.9841, allocations: 0.6399 MB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.9841, allocations: 0 / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.9842, allocations: 0 / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.9842, allocations: 9.297 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.9847, allocations: 119.4 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.9848, allocations: 25.02 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.9848, allocations: 1.562 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.9849, allocations: 12.72 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.985, allocations: 12.62 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.985, allocations: 1.562 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.9853, allocations: 143.1 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.9853, allocations: 5.266 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.9853, allocations: 16.28 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.9856, allocations: 97.73 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9856, allocations: 0 / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9856, allocations: 0 / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.9856, allocations: 0 / 0.9519 GB, free: 7.387 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000505/0.9861, allocations: 353.6 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9862, allocations: 9.875 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.9866, allocations: 33.92 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.9867, allocations: 165.5 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.9868, allocations: 384 / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.9868, allocations: 3.094 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.987, allocations: 65.83 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.987, allocations: 192 / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.987, allocations: 3.938 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.987, allocations: 1.625 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.9872, allocations: 30.81 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.9874, allocations: 171 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.9877, allocations: 71.14 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.9878, allocations: 28.56 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.9878, allocations: 5.062 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.9878, allocations: 31.53 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.9879, allocations: 0 / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003414/0.9913, allocations: 0.5745 MB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.9913, allocations: 52.81 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.9914, allocations: 96.42 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9914, allocations: 25.7 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.9914, allocations: 81.55 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.9915, allocations: 30.55 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9916, allocations: 23.52 kB / 0.9537 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.9917, allocations: 316.2 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.9918, allocations: 33.47 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.9919, allocations: 43.16 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.9922, allocations: 86.39 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9923, allocations: 1.281 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003513/0.9926, allocations: 125.1 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.9926, allocations: 8.875 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.9927, allocations: 0 / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.9927, allocations: 1.844 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.9929, allocations: 25.72 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.9929, allocations: 0 / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.9931, allocations: 4.656 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.9931, allocations: 10.05 kB / 0.9543 GB, free: 5.109 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 (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.284e-05/0.9932, allocations: 115.8 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.9932, allocations: 6.125 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.9933, allocations: 13.91 kB / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9933, allocations: 3.984 kB / 0.9544 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9933, allocations: 5.219 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9934, allocations: 0 / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.9935, allocations: 182.7 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9935, allocations: 0 / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.9938, allocations: 26.72 kB / 0.9546 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.9938, allocations: 5 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.9938, allocations: 5 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9938, allocations: 0 / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9938, allocations: 1.031 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.9944, allocations: 194 kB / 0.9548 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.9944, allocations: 86.23 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.9945, allocations: 1.031 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9946, allocations: 14.67 kB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.9947, allocations: 2.25 kB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.9947, allocations: 7.109 kB / 0.9549 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.9947, allocations: 80.44 kB / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9947, allocations: 0 / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002821/0.995, allocations: 27.88 kB / 0.955 GB, free: 4.395 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 (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.0002321/0.9953, allocations: 133 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.9956, allocations: 93.95 kB / 0.9553 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9956, allocations: 0 / 0.9553 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.9958, allocations: 44.25 kB / 0.9553 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.9961, allocations: 20.92 kB / 0.9553 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.9968, allocations: 161.2 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.9969, allocations: 0.6836 MB / 0.9561 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.9972, allocations: 23.45 kB / 0.9562 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.9972, allocations: 28.09 kB / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.9972, allocations: 0 / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.004685/1.002, allocations: 1.497 MB / 0.9577 GB, free: 2.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches