Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.005515/0.005515, allocations: 104.4 kB / 15.74 MB, free: 6.445 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.001243/0.001244, allocations: 193.4 kB / 16.67 MB, free: 6.355 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3121, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002699/0.3148, allocations: 1.41 MB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3159, allocations: 0.5927 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.3159, allocations: 0 / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.316, allocations: 7.984 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.3161, allocations: 3.938 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3165, allocations: 103.6 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.3166, allocations: 27.86 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.3167, allocations: 7.984 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.3168, allocations: 11.94 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.3168, allocations: 11.98 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3168, allocations: 4 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3172, allocations: 147.8 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3172, allocations: 3.938 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3173, allocations: 8 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3175, allocations: 102.6 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3175, allocations: 0 / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3175, allocations: 4 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.3176, allocations: 0 / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000526/0.3181, allocations: 356.2 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3181, allocations: 12.03 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.3182, allocations: 34.69 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.3186, allocations: 32.89 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3188, allocations: 164.3 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3188, allocations: 4.375 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3188, allocations: 384 / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3191, allocations: 66.2 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3191, allocations: 3.938 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3191, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3191, allocations: 4 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.3194, allocations: 51.94 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.3198, allocations: 276.8 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.3201, allocations: 62.47 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.3202, allocations: 32.89 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3203, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3203, allocations: 34.56 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3203, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005082/0.3208, allocations: 113.5 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3209, allocations: 51.41 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.321, allocations: 106 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.321, allocations: 25.7 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.3211, allocations: 88.08 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3211, allocations: 11.89 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3211, allocations: 17.7 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3213, allocations: 310.8 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3214, allocations: 23.97 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3215, allocations: 31.97 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3218, allocations: 60.8 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3219, allocations: 3.938 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003105/0.3222, allocations: 89.64 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3222, allocations: 7.938 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3222, allocations: 0 / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3222, allocations: 4 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3224, allocations: 11.98 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3224, allocations: 3.984 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.3225, allocations: 12.03 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3225, allocations: 3.984 kB / 1.171 GB, free: 2.574 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.565e-05/0.3226, allocations: 113.8 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3226, allocations: 4 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.3227, allocations: 3.125 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3227, allocations: 192 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3227, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3227, allocations: 3.984 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3229, allocations: 173.6 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3229, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.323, allocations: 15.97 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.323, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.323, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3231, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3231, allocations: 7.938 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.3235, allocations: 191.3 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.3236, allocations: 77.11 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3236, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3237, allocations: 11.98 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3238, allocations: 4.031 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3238, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.882e-05/0.3239, allocations: 83.27 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3239, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002523/0.3241, allocations: 16 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008929/0.325, allocations: 0.7357 MB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.3254, allocations: 63.95 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3254, allocations: 0 / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3255, allocations: 27.97 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3259, allocations: 4 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.3265, allocations: 176.1 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3268, allocations: 0.6768 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.48e-05/0.3268, allocations: 8 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.3269, allocations: 19.45 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3269, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.3453, allocations: 1.662 MB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.006, allocations: 11.23 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches