Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8774 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.339e-05, allocations: 8.984 kB / 0.8774 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002737/0.002771, allocations: 1.445 MB / 0.8788 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004169, allocations: 0.5945 MB / 0.8794 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.004195, allocations: 5.094 kB / 0.8794 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.004219, allocations: 3.938 kB / 0.8794 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.004276, allocations: 3.938 kB / 0.8794 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.00467, allocations: 102.2 kB / 0.8795 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.123e-05/0.004731, allocations: 23.88 kB / 0.8795 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.004815, allocations: 7.984 kB / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.004874, allocations: 12 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.004921, allocations: 11.92 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004935, allocations: 3.375 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.00522, allocations: 139.7 kB / 0.8797 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.00524, allocations: 11.98 kB / 0.8797 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.00526, allocations: 3.938 kB / 0.8797 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.005525, allocations: 111.7 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.005529, allocations: 0 / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005529, allocations: 0 / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.005534, allocations: 0 / 0.8798 GB, free: 4.082 MB / 0.8386 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.0005231/0.006057, allocations: 384 kB / 0.8802 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.006093, allocations: 8.969 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.00656, allocations: 45.91 kB / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.006679, allocations: 109.6 kB / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006693, allocations: 4.375 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.006704, allocations: 384 / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.006897, allocations: 59.34 kB / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.006906, allocations: 192 / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006917, allocations: 1.312 kB / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.006921, allocations: 384 / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.007113, allocations: 45.09 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.007635, allocations: 280.7 kB / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.007829, allocations: 55.73 kB / 0.8808 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.007927, allocations: 28.61 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.007947, allocations: 1.094 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.007984, allocations: 33.39 kB / 0.8808 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.007985, allocations: 4 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004403/0.008425, allocations: 108.1 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.008471, allocations: 51.41 kB / 0.881 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.008602, allocations: 161.9 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.008628, allocations: 30.67 kB / 0.8812 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.008708, allocations: 134.8 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.008727, allocations: 3.953 kB / 0.8813 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.008777, allocations: 20.12 kB / 0.8813 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.009042, allocations: 0.4884 MB / 0.8818 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.009137, allocations: 24.58 kB / 0.8818 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.009222, allocations: 23.42 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.009404, allocations: 43.67 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009406, allocations: 0 / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002373/0.009643, allocations: 78.34 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009658, allocations: 12 kB / 0.882 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.009665, allocations: 3.938 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.009677, allocations: 0 / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.009782, allocations: 11.92 kB / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.009786, allocations: 4 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.009848, allocations: 0 / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.009858, allocations: 7.984 kB / 0.882 GB, free: 1.66 MB / 0.8386 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.0001104/0.009969, allocations: 152.6 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.009999, allocations: 4.188 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.01005, allocations: 19.23 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01005, allocations: 0 / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.01006, allocations: 4 kB / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01006, allocations: 0 / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.01023, allocations: 120.6 kB / 0.8823 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01023, allocations: 0 / 0.8823 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.01032, allocations: 11.98 kB / 0.8823 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01033, allocations: 0 / 0.8823 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01034, allocations: 3.984 kB / 0.8823 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01034, allocations: 7.938 kB / 0.8823 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01034, allocations: 0 / 0.8823 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.01068, allocations: 223.8 kB / 0.8825 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.01068, allocations: 0 / 0.8825 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.01071, allocations: 11.98 kB / 0.8825 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.0108, allocations: 3.938 kB / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.01084, allocations: 4 kB / 0.8826 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01085, allocations: 8.016 kB / 0.8826 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.01092, allocations: 123.2 kB / 0.8827 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 0.8827 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002424/0.01116, allocations: 15.94 kB / 0.8827 GB, free: 0.8945 MB / 0.8386 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.0001993/0.01136, allocations: 111.2 kB / 0.8828 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.01162, allocations: 59.59 kB / 0.8829 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01162, allocations: 64 / 0.8829 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.01173, allocations: 35.66 kB / 0.8829 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01197, allocations: 8 kB / 0.8829 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.01235, allocations: 130.2 kB / 0.883 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.01241, allocations: 59.3 kB / 0.8831 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.243e-05/0.01248, allocations: 19.98 kB / 0.8831 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.01253, allocations: 12.5 kB / 0.8831 GB, free: 408 kB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/0.01253, allocations: 0 / 0.8831 GB, free: 408 kB / 0.8386 GB Notification: Performance of Templates: time 0.004019/0.01655, allocations: 0.9538 MB / 0.884 GB, free: 15.46 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.418963189935312]