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.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.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.001465/0.001465, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001513/0.001514, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.344/2.344, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 65.3 kB / 0.8127 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3092, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004772/0.314, allocations: 1.484 MB / 0.9512 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3158, allocations: 0.5889 MB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.3159, allocations: 0 / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.316, allocations: 0 / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.3161, allocations: 7.938 kB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.3168, allocations: 87.7 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3169, allocations: 23.92 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.317, allocations: 11.92 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.3171, allocations: 11.98 kB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.3172, allocations: 7.938 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3172, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.3177, allocations: 151.7 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.3177, allocations: 15.97 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.3178, allocations: 7.938 kB / 0.9521 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.318, allocations: 72.14 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3181, allocations: 0 / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3181, allocations: 0 / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3181, allocations: 0 / 0.9522 GB, free: 6.75 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.0006829/0.3188, allocations: 363.4 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.3189, allocations: 8.031 kB / 0.9525 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/0.3196, allocations: 28.91 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3198, allocations: 172.3 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3198, allocations: 384 / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3199, allocations: 4.312 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3203, allocations: 66.2 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3203, allocations: 192 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3204, allocations: 7.938 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3204, allocations: 0 / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.3209, allocations: 51.94 kB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.3216, allocations: 268.9 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.3221, allocations: 70.41 kB / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.3223, allocations: 28.84 kB / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3224, allocations: 3.984 kB / 0.9532 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3224, allocations: 38.56 kB / 0.9532 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.3225, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0009212/0.3234, allocations: 105.6 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.3235, allocations: 59.53 kB / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3236, allocations: 105.7 kB / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.3237, allocations: 25.7 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.3238, allocations: 92.08 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3238, allocations: 3.906 kB / 0.9536 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3239, allocations: 17.7 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3241, allocations: 314.8 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3243, allocations: 27.97 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3246, allocations: 27.97 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.3251, allocations: 52.81 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3251, allocations: 4.062 kB / 0.954 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005612/0.3257, allocations: 93.47 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.3257, allocations: 4 kB / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3257, allocations: 3.938 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3258, allocations: 192 / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.326, allocations: 11.98 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3261, allocations: 8.031 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3262, allocations: 7.984 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3263, allocations: 3.984 kB / 0.9542 GB, free: 4.484 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 0.0001545/0.3264, allocations: 123.7 kB / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3265, allocations: 0 / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.3266, allocations: 3.125 kB / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3266, allocations: 4 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3266, allocations: 0 / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3267, allocations: 4 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.327, allocations: 165.6 kB / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.327, allocations: 0 / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3272, allocations: 15.97 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.3272, allocations: 0 / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3272, allocations: 8 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3273, allocations: 3.938 kB / 0.9545 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3273, allocations: 0 / 0.9545 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.3279, allocations: 191.4 kB / 0.9546 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.328, allocations: 77.11 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3281, allocations: 4 kB / 0.9547 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3283, allocations: 12.02 kB / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3283, allocations: 0 / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3284, allocations: 0 / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.3284, allocations: 87.27 kB / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3285, allocations: 0 / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004177/0.3289, allocations: 15.94 kB / 0.9548 GB, free: 3.691 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.0002648/0.3292, allocations: 115.2 kB / 0.9549 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.3297, allocations: 63.94 kB / 0.955 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3297, allocations: 0 / 0.955 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.33, allocations: 31.91 kB / 0.955 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3305, allocations: 7.938 kB / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.3312, allocations: 172.2 kB / 0.9552 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3317, allocations: 0.6766 MB / 0.9559 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.3317, allocations: 11.42 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.3318, allocations: 4 kB / 0.9559 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of Templates: time 0.004342/0.3361, allocations: 0.9005 MB / 0.9568 GB, free: 1.656 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 -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