Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_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_9_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.001174/0.001174, allocations: 103.4 kB / 16.27 MB, free: 6 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.001111/0.001111, allocations: 192.2 kB / 17.2 MB, free: 5.637 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.84 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2478, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002739/0.2506, allocations: 1.287 MB / 0.9515 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.2516, allocations: 0.5598 MB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.2517, allocations: 4 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2517, allocations: 0 / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.2518, allocations: 11.91 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.2522, allocations: 95.52 kB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.2523, allocations: 19.92 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.2523, allocations: 3.938 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2524, allocations: 11.94 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.2524, allocations: 4 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.2524, allocations: 4 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.2527, allocations: 143.8 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2527, allocations: 0 / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.2528, allocations: 11.94 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.253, allocations: 96.05 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.253, allocations: 3.984 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.253, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.253, allocations: 0 / 0.9525 GB, free: 6.594 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003663/0.2534, allocations: 343.4 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2534, allocations: 12.03 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.2539, allocations: 28.91 kB / 0.9528 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.254, allocations: 172.3 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.254, allocations: 384 / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.254, allocations: 384 / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2542, allocations: 42.23 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2542, allocations: 8.188 kB / 0.953 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2543, allocations: 7.938 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2543, allocations: 0 / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2544, allocations: 23.95 kB / 0.9531 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.2546, allocations: 161.7 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.2548, allocations: 46.48 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.2548, allocations: 20.91 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2549, allocations: 0 / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2549, allocations: 30.56 kB / 0.9533 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2549, allocations: 0 / 0.9533 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003094/0.2552, allocations: 81.5 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.2553, allocations: 51.41 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.2553, allocations: 97.86 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2554, allocations: 29.64 kB / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2554, allocations: 88.14 kB / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.2554, allocations: 3.906 kB / 0.9537 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2555, allocations: 17.7 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2556, allocations: 318.9 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.2557, allocations: 15.98 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.2557, allocations: 11.98 kB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.2559, allocations: 28.84 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2559, allocations: 4.062 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.2561, allocations: 57.67 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2561, allocations: 6.031 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2561, allocations: 3.938 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2561, allocations: 3.984 kB / 0.9541 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2562, allocations: 11.94 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2562, allocations: 0 / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.2563, allocations: 8.016 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2563, allocations: 4 kB / 0.9541 GB, free: 4.664 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 7.434e-05/0.2564, allocations: 115.8 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.2564, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.2565, allocations: 11 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2565, allocations: 4 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2565, allocations: 0 / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2565, allocations: 0 / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2566, allocations: 161.7 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2566, allocations: 0 / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.2567, allocations: 4 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2567, allocations: 3.984 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2567, allocations: 3.938 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2567, allocations: 4 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2567, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.257, allocations: 85.05 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.257, allocations: 89 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2571, allocations: 7.938 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.2571, allocations: 0 / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.2571, allocations: 7.984 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2572, allocations: 0 / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.2572, allocations: 79.28 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2572, allocations: 4.031 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002091/0.2574, allocations: 8 kB / 0.9547 GB, free: 3.992 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.0001671/0.2576, allocations: 119.2 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.2578, allocations: 27.97 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2578, allocations: 4 kB / 0.9548 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.2579, allocations: 19.98 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2581, allocations: 8 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2585, allocations: 136.4 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2588, allocations: 0.6805 MB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2588, allocations: 19.48 kB / 0.9557 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2588, allocations: 0 / 0.9557 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.00233/0.2612, allocations: 0.7903 MB / 0.9564 GB, free: 2.125 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches