Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001872, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001796/0.001796, allocations: 191 kB / 17.29 MB, free: 5.516 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.25 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003017/0.3207, allocations: 1.427 MB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3218, allocations: 0.5928 MB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.3218, allocations: 0 / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.3219, allocations: 0 / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.322, allocations: 11.88 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3225, allocations: 95.67 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.3226, allocations: 23.86 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.3227, allocations: 12 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.3227, allocations: 7.984 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.3228, allocations: 15.81 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3228, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.3231, allocations: 139.8 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.3231, allocations: 0 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.3232, allocations: 15.91 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3234, allocations: 103.8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3234, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3234, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3234, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 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.0005035/0.3239, allocations: 351.5 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.324, allocations: 12.03 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.3245, allocations: 36.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3246, allocations: 164.3 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3246, allocations: 384 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3246, allocations: 8.375 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3249, allocations: 66.2 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3249, allocations: 192 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3249, allocations: 3.938 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3249, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.3252, allocations: 55.94 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3257, allocations: 276.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3259, allocations: 58.47 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3261, allocations: 40.88 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3261, allocations: 3.938 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3261, allocations: 30.56 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005069/0.3267, allocations: 113.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3267, allocations: 55.41 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3268, allocations: 101.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3268, allocations: 25.7 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.3269, allocations: 91.98 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3269, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.327, allocations: 21.83 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3271, allocations: 310.8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3272, allocations: 31.91 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3273, allocations: 27.97 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3276, allocations: 60.86 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3276, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002872/0.3279, allocations: 93.42 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3279, allocations: 14.53 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3279, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3279, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3281, allocations: 15.97 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3281, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.3282, allocations: 7.984 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3282, allocations: 4 kB / 1.031 GB, free: 13.35 MB / 0.8106 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 9.06e-05/0.3283, allocations: 117.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3283, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.3284, allocations: 7.125 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3284, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3284, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3284, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3286, allocations: 177.5 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3286, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3287, allocations: 11.98 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3288, allocations: 4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3288, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3288, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3288, allocations: 7.938 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3292, allocations: 195.4 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3292, allocations: 81.02 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3292, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3294, allocations: 7.984 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3294, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3294, allocations: 3.984 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.3295, allocations: 79.28 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3295, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002493/0.3297, allocations: 20 kB / 1.032 GB, free: 12.55 MB / 0.8106 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.0001819/0.3299, allocations: 111.2 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.3303, allocations: 59.88 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3303, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3304, allocations: 32.03 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3307, allocations: 11.88 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.3312, allocations: 133.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3315, allocations: 0.6768 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.828e-05/0.3316, allocations: 8.062 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.3317, allocations: 11.44 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3317, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.003205/0.3349, allocations: 0.7848 MB / 1.034 GB, free: 10.67 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches