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.00177/0.00177, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.00176/0.00176, allocations: 189.1 kB / 17.3 MB, free: 5.613 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 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 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.94 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002867/0.2648, allocations: 1.412 MB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2658, allocations: 0.5987 MB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.2659, allocations: 0 / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.2659, allocations: 4 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.266, allocations: 3.938 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2665, allocations: 103.5 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.2666, allocations: 19.92 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.2667, allocations: 8 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.2668, allocations: 7.984 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.2668, allocations: 15.92 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2668, allocations: 4 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.2671, allocations: 147.7 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.2671, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.2672, allocations: 15.92 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.2674, allocations: 103.8 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2674, allocations: 0 / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2674, allocations: 0 / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2674, allocations: 0 / 0.9535 GB, free: 5.605 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.0004389/0.2679, allocations: 359.4 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2679, allocations: 12.03 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.2683, allocations: 28.89 kB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2685, allocations: 168.3 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2685, allocations: 384 / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2685, allocations: 384 / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.2687, allocations: 74.14 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2688, allocations: 192 / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2688, allocations: 11.92 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2688, allocations: 0 / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.269, allocations: 51.94 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.2695, allocations: 268.9 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2697, allocations: 66.41 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.2699, allocations: 32.89 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2699, allocations: 8 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2699, allocations: 30.56 kB / 0.9546 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2699, allocations: 7.875 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0005394/0.2705, allocations: 113.7 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2705, allocations: 51.41 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.2706, allocations: 101.9 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2707, allocations: 25.7 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2707, allocations: 84.08 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2707, allocations: 11.89 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.2708, allocations: 17.66 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2709, allocations: 310.8 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.271, allocations: 32 kB / 0.9553 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2712, allocations: 23.97 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.2714, allocations: 64.86 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2714, allocations: 0 / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002789/0.2717, allocations: 89.48 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2717, allocations: 4 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2717, allocations: 4 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2717, allocations: 0 / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2719, allocations: 20 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2719, allocations: 3.938 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.272, allocations: 7.984 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.272, allocations: 0 / 0.9555 GB, free: 3.336 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.52e-05/0.2721, allocations: 119.8 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2721, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.2721, allocations: 7.125 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2722, allocations: 4 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2722, allocations: 4 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2722, allocations: 3.984 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2723, allocations: 165.6 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2723, allocations: 0 / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2725, allocations: 11.98 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2725, allocations: 4 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2725, allocations: 0 / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2725, allocations: 7.984 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2725, allocations: 0 / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2728, allocations: 179.4 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.2729, allocations: 89.05 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2729, allocations: 4.031 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2731, allocations: 7.984 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2731, allocations: 3.984 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2731, allocations: 7.938 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.2732, allocations: 75.28 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2732, allocations: 4 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002571/0.2734, allocations: 8 kB / 0.9562 GB, free: 2.551 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.0002808/0.2737, allocations: 123.2 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.274, allocations: 55.94 kB / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2741, allocations: 0 / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2742, allocations: 27.97 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2745, allocations: 21.02 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.275, allocations: 126.6 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2753, allocations: 0.6808 MB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.2754, allocations: 12 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.2755, allocations: 15.42 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2755, allocations: 0 / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of Templates: time 0.003211/0.2787, allocations: 0.7766 MB / 0.9579 GB, free: 0.6641 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 gbode -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