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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.00131/0.00131, allocations: 107.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.001268/0.001268, allocations: 189.1 kB / 16.91 MB, free: 6.188 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.418/1.418, 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.603/2.603, allocations: 437.1 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.08 kB / 0.8694 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003009/0.3079, allocations: 1.478 MB / 1.019 GB, free: 9.559 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.309, allocations: 0.5982 MB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.3091, allocations: 0 / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.3091, allocations: 0 / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3092, allocations: 3.938 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3096, allocations: 87.64 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.3097, allocations: 23.94 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3098, allocations: 11.98 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.3099, allocations: 4 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.3099, allocations: 19.91 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.31, allocations: 0 / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.3103, allocations: 151.7 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.3103, allocations: 4 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3104, allocations: 7.938 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3105, allocations: 76.12 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3106, allocations: 4 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3106, allocations: 0 / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3106, allocations: 0 / 1.02 GB, free: 8.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005298/0.3111, allocations: 355.4 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3111, allocations: 8.922 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.3116, allocations: 32.8 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3118, allocations: 168.4 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3118, allocations: 4.375 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3118, allocations: 4.312 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3121, allocations: 70.14 kB / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3121, allocations: 192 / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3122, allocations: 3.938 kB / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3122, allocations: 0 / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.3124, allocations: 55.94 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.313, allocations: 268.9 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3132, allocations: 66.41 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3134, allocations: 32.89 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3134, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3135, allocations: 30.56 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3135, allocations: 3.938 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0005382/0.314, allocations: 113.6 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3141, allocations: 55.39 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3142, allocations: 97.86 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3142, allocations: 29.64 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3143, allocations: 100.1 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3143, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3144, allocations: 13.7 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3145, allocations: 314.8 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3147, allocations: 23.97 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3148, allocations: 35.97 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3151, allocations: 56.8 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3151, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000319/0.3154, allocations: 93.73 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3154, allocations: 4 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3154, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3155, allocations: 3.984 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3156, allocations: 19.91 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.3157, allocations: 11.98 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3157, allocations: 4.031 kB / 1.022 GB, free: 6.305 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.732e-05/0.3158, allocations: 114.3 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3159, allocations: 8 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.3159, allocations: 7.062 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3159, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.316, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.316, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3162, allocations: 177.4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3162, allocations: 4 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3163, allocations: 11.98 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3163, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3163, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3163, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3163, allocations: 4 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3167, allocations: 191.4 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.3168, allocations: 81.02 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3168, allocations: 0 / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.317, allocations: 11.98 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.317, allocations: 0 / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.317, allocations: 7.922 kB / 1.022 GB, free: 5.605 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.3171, allocations: 83.31 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3171, allocations: 0 / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002619/0.3173, allocations: 20 kB / 1.023 GB, free: 5.504 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.0001906/0.3175, allocations: 107.2 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.3179, allocations: 59.94 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3179, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.318, allocations: 31.91 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3183, allocations: 9.984 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.3189, allocations: 164.5 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3192, allocations: 0.6768 MB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.3192, allocations: 11.42 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3192, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of Templates: time 0.002808/0.3221, allocations: 0.8989 MB / 1.024 GB, free: 3.492 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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