Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.00235/0.00235, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.613/2.613, allocations: 437.1 MB / 0.7107 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 68.11 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003018/0.3157, allocations: 1.344 MB / 1.019 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3168, allocations: 0.5632 MB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.3169, allocations: 0 / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3169, allocations: 0 / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.317, allocations: 7.938 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.3175, allocations: 87.69 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.3175, allocations: 19.81 kB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.3176, allocations: 3.938 kB / 1.019 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.3177, allocations: 7.984 kB / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.3177, allocations: 8 kB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3177, allocations: 8 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.318, allocations: 147.7 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3181, allocations: 7.938 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.3181, allocations: 4 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3183, allocations: 68.14 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3183, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3183, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3183, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004615/0.3188, allocations: 343.4 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3189, allocations: 16.03 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.3193, allocations: 28.91 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3195, allocations: 164.4 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3195, allocations: 384 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3195, allocations: 384 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3197, allocations: 54.16 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3197, allocations: 4.188 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3197, allocations: 3.938 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3198, allocations: 4 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3199, allocations: 23.97 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.3201, allocations: 157.6 kB / 1.02 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3203, allocations: 42.55 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.3204, allocations: 24.91 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3204, allocations: 3.938 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.3204, allocations: 34.56 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3204, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.3208, allocations: 77.59 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3208, allocations: 51.41 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.3209, allocations: 93.86 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3209, allocations: 25.7 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.321, allocations: 84.14 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.321, allocations: 11.89 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.3211, allocations: 9.844 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3212, allocations: 318.8 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.3213, allocations: 11.98 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.3214, allocations: 19.92 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3215, allocations: 24.84 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3215, allocations: 4.062 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.3217, allocations: 65.59 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3217, allocations: 4 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3218, allocations: 7.875 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3218, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3219, allocations: 7.984 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3219, allocations: 4 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.322, allocations: 8.031 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.322, allocations: 0 / 1.021 GB, free: 6.781 MB / 0.795 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.178e-05/0.3221, allocations: 117.7 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3221, allocations: 0 / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3222, allocations: 11.05 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3222, allocations: 0 / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3222, allocations: 4 kB / 1.021 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3222, allocations: 4 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3224, allocations: 157.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3224, allocations: 0 / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.3224, allocations: 7.984 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3225, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3225, allocations: 3.938 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3225, allocations: 0 / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3225, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3227, allocations: 81.11 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3228, allocations: 93 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3228, allocations: 3.938 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.3229, allocations: 3.984 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3229, allocations: 7.938 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3229, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.323, allocations: 75.5 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.323, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002024/0.3232, allocations: 12 kB / 1.022 GB, free: 6.105 MB / 0.795 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.0001878/0.3234, allocations: 111.8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3236, allocations: 31.97 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.3236, allocations: 4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.3237, allocations: 16.05 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3239, allocations: 21.05 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3243, allocations: 132.4 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3246, allocations: 0.6769 MB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3247, allocations: 19.48 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.3247, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of Templates: time 0.002489/0.3272, allocations: 0.7869 MB / 1.024 GB, free: 4.258 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches