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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007766/0.007766, allocations: 107 kB / 15.74 MB, free: 5.996 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.001511/0.001511, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.34/1.34, 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 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8192, allocations: 140.4 MB / 1.087 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002027/0.8213, allocations: 1.285 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.8222, allocations: 0.638 MB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.8222, allocations: 1.125 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.8222, allocations: 0 / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.8223, allocations: 13.73 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.8227, allocations: 103.5 kB / 1.089 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.8227, allocations: 27.52 kB / 1.089 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.8228, allocations: 10.89 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.8228, allocations: 7.125 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.8229, allocations: 12.06 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.8229, allocations: 1.312 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.8232, allocations: 146.6 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.8232, allocations: 6.578 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.8232, allocations: 13.12 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.8234, allocations: 101.8 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8234, allocations: 1.188 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8234, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.8234, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 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.0004175/0.8239, allocations: 350.4 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.8239, allocations: 10.23 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.224e-05/0.8239, allocations: 30.75 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.8243, allocations: 36.23 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.125e-05/0.8244, allocations: 170.7 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.8244, allocations: 384 / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.8245, allocations: 3.359 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8246, allocations: 54.41 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.8247, allocations: 3.938 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8247, allocations: 9.156 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8247, allocations: 0.5625 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.8248, allocations: 30 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.825, allocations: 162.1 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.8253, allocations: 72.16 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.8254, allocations: 25.16 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.8254, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.8254, allocations: 32.45 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.8254, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003338/0.8288, allocations: 0.5799 MB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.8288, allocations: 56.25 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.8288, allocations: 98.56 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.8289, allocations: 25.83 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.8289, allocations: 89.27 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.8289, allocations: 19.83 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.829, allocations: 25.81 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.829, allocations: 318.7 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.8292, allocations: 33.64 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.8293, allocations: 39.69 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.8296, allocations: 78.09 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8296, allocations: 0.7969 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003561/0.83, allocations: 129.3 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.83, allocations: 5.156 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.83, allocations: 1.172 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.83, allocations: 0.625 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.8303, allocations: 22.47 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8303, allocations: 4.781 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.8304, allocations: 10.09 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.8305, allocations: 13.22 kB / 1.092 GB, free: 1.551 MB / 0.8575 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 5.849e-05/0.8305, allocations: 108.4 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.8306, allocations: 6.156 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.8306, allocations: 13.95 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8306, allocations: 4.812 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8306, allocations: 1.406 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8306, allocations: 3.938 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.8308, allocations: 195 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8308, allocations: 0 / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.831, allocations: 26.88 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.831, allocations: 0 / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.831, allocations: 4.688 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.831, allocations: 0.7812 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8311, allocations: 4.812 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.8316, allocations: 183.2 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.8316, allocations: 83.69 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.8317, allocations: 9.406 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.8319, allocations: 13.14 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.8319, allocations: 4.25 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.8319, allocations: 8.406 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.8319, allocations: 83.14 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.832, allocations: 0 / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002622/0.8322, allocations: 31.59 kB / 1.093 GB, free: 0.8828 MB / 0.8575 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.0008682/0.8331, allocations: 0.7568 MB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.8335, allocations: 88.41 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8335, allocations: 0.75 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.8337, allocations: 51.2 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.8339, allocations: 11.52 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.836, allocations: 1.354 MB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.8362, allocations: 0.6822 MB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.8364, allocations: 29.25 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.8365, allocations: 18.08 kB / 1.096 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.8365, allocations: 0 / 1.096 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.8553, allocations: 2.493 MB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/8.139, allocations: 4.062 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > 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/jenkins1/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