Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.001346/0.001346, allocations: 109.2 kB / 16.37 MB, free: 6.48 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.001241/0.001241, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.99/1.99, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.83 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2269, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002249/0.2292, allocations: 1.405 MB / 0.9525 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008411/0.23, allocations: 0.5871 MB / 0.9531 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2301, allocations: 0 / 0.9531 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.2301, allocations: 0 / 0.9531 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.2302, allocations: 11.92 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.2305, allocations: 99.5 kB / 0.9532 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.2306, allocations: 27.92 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.2306, allocations: 4 kB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.2307, allocations: 8 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.2307, allocations: 15.92 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.2307, allocations: 0 / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.231, allocations: 151.7 kB / 0.9534 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.231, allocations: 4 kB / 0.9534 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.231, allocations: 15.92 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.2312, allocations: 99.75 kB / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2312, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2312, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2312, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7325 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.0004044/0.2317, allocations: 359.4 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2317, allocations: 8.031 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.2321, allocations: 36.89 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2322, allocations: 172.3 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2322, allocations: 384 / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2322, allocations: 384 / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2324, allocations: 70.14 kB / 0.9541 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2324, allocations: 4.188 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2325, allocations: 3.938 kB / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2325, allocations: 4 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.2327, allocations: 55.88 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.2331, allocations: 268.9 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2333, allocations: 70.41 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2334, allocations: 28.89 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2334, allocations: 0 / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2335, allocations: 38.56 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2335, allocations: 3.938 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004342/0.2339, allocations: 109.6 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.234, allocations: 59.52 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.234, allocations: 97.86 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.234, allocations: 29.7 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.2341, allocations: 84.08 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.2341, allocations: 7.844 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2341, allocations: 21.7 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2343, allocations: 310.8 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2344, allocations: 27.97 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2345, allocations: 27.97 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2347, allocations: 56.8 kB / 0.9554 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2347, allocations: 4.062 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002574/0.235, allocations: 93.48 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.235, allocations: 4 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.235, allocations: 0 / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.235, allocations: 4 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2351, allocations: 19.91 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2352, allocations: 8.016 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.2352, allocations: 7.984 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2353, allocations: 0 / 0.9555 GB, free: 3.371 MB / 0.7325 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 6.3e-05/0.2353, allocations: 117.3 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2353, allocations: 0 / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2354, allocations: 7.125 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2354, allocations: 4 kB / 0.9556 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2354, allocations: 4 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2354, allocations: 0 / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2356, allocations: 165.6 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2356, allocations: 0 / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2357, allocations: 11.98 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2357, allocations: 0 / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2357, allocations: 4 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2357, allocations: 0 / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2357, allocations: 3.938 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.236, allocations: 191.4 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2361, allocations: 81.05 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2361, allocations: 4.188 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2362, allocations: 16.02 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2362, allocations: 7.984 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2363, allocations: 7.984 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.2363, allocations: 75.28 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2363, allocations: 0 / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002217/0.2365, allocations: 12 kB / 0.9562 GB, free: 2.582 MB / 0.7325 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.0001324/0.2367, allocations: 111.2 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.2369, allocations: 59.94 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2369, allocations: 4 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2371, allocations: 31.91 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2373, allocations: 11.42 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.2377, allocations: 138.5 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.2379, allocations: 0.6805 MB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.358e-05/0.238, allocations: 8 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.238, allocations: 15.44 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.238, allocations: 3.938 kB / 0.9572 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.002569/0.2406, allocations: 0.7712 MB / 0.958 GB, free: 0.6992 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches