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.005801/0.005801, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001296/0.001296, allocations: 192 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9207, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00263/0.9234, allocations: 1.283 MB / 1.168 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.9245, allocations: 0.642 MB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.9246, allocations: 0 / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.9246, allocations: 0 / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.9247, allocations: 7.922 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.9251, allocations: 107.5 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.9252, allocations: 31.8 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.9252, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.9253, allocations: 11.98 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.9254, allocations: 11.98 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.9254, allocations: 3.938 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.9257, allocations: 147.8 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.9257, allocations: 0 / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.9257, allocations: 12 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.926, allocations: 100.2 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.926, allocations: 4 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.432e-06/0.926, allocations: 0 / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.926, allocations: 3.938 kB / 1.169 GB, free: 1.453 MB / 0.8887 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.0004938/0.9265, allocations: 351.3 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9265, allocations: 12.92 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.9269, allocations: 28.91 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.9271, allocations: 168.3 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.9271, allocations: 4.312 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.9271, allocations: 8.328 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.9273, allocations: 66.19 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.9273, allocations: 192 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.9274, allocations: 3.938 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9274, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.9275, allocations: 35.91 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.9277, allocations: 157.7 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.9281, allocations: 62.58 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.9282, allocations: 28.94 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.9282, allocations: 4 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.9282, allocations: 38.56 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.9282, allocations: 0 / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.003243/0.9315, allocations: 0.572 MB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.9315, allocations: 55.41 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.9316, allocations: 89.86 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.9316, allocations: 33.7 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.9317, allocations: 80.14 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.9317, allocations: 27.77 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.9318, allocations: 29.83 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9319, allocations: 314.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.9321, allocations: 35.97 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.9322, allocations: 35.97 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.9325, allocations: 84.81 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.9325, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003518/0.9329, allocations: 125.5 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9329, allocations: 7.938 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9329, allocations: 8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9329, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.9331, allocations: 19.97 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.9332, allocations: 240 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.9333, allocations: 8 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.9333, allocations: 3.984 kB / 1.171 GB, free: 14.72 MB / 0.9044 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.819e-05/0.9334, allocations: 113.8 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.9334, allocations: 11.89 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.9335, allocations: 15.89 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9335, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9335, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9335, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.9337, allocations: 187.7 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9337, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.9339, allocations: 23.91 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.9339, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.934, allocations: 8.328 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.934, allocations: 3.984 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.934, allocations: 3.984 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.9345, allocations: 185.2 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.9346, allocations: 93.02 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.9346, allocations: 4 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9348, allocations: 16.05 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.9348, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.9349, allocations: 7.984 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.9349, allocations: 79.28 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.063e-06/0.9349, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002473/0.9352, allocations: 31.88 kB / 1.172 GB, free: 13.84 MB / 0.9044 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.0002159/0.9354, allocations: 131.2 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.9357, allocations: 87.92 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.9358, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.9359, allocations: 47.91 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.9362, allocations: 11.98 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.9368, allocations: 161.8 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.9371, allocations: 0.6807 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.9373, allocations: 31.88 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.9373, allocations: 19.41 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9373, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.004124/0.9415, allocations: 1.507 MB / 1.175 GB, free: 11.16 MB / 0.9044 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