Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.002383/0.002383, allocations: 85.48 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.002967/0.002967, allocations: 173.6 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.087e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002623/0.002654, allocations: 1.326 MB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003743, allocations: 0.5631 MB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.003759, allocations: 0.5625 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.003779, allocations: 7.922 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.003828, allocations: 5.234 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.004238, allocations: 104.7 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.004301, allocations: 21.45 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.004334, allocations: 0 / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.004412, allocations: 11.98 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.004456, allocations: 3.938 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.004474, allocations: 4 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.004787, allocations: 141.6 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.004801, allocations: 3.984 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.004827, allocations: 7.938 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.00507, allocations: 99.75 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005073, allocations: 0 / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005073, allocations: 2.719 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.005078, allocations: 0 / 0.8797 GB, free: 4.387 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005142/0.005592, allocations: 376.1 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.005629, allocations: 8.031 kB / 0.8801 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.006083, allocations: 33.55 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.00621, allocations: 116.6 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.006224, allocations: 5.969 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.006234, allocations: 4.312 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006391, allocations: 46.23 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006399, allocations: 1.531 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.006409, allocations: 384 / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006413, allocations: 384 / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.006528, allocations: 27.92 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.006716, allocations: 124.6 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.006866, allocations: 50.98 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.006936, allocations: 23.73 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.006956, allocations: 0 / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.006993, allocations: 37.39 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.006994, allocations: 0 / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.007299, allocations: 69.67 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.007343, allocations: 51.41 kB / 0.8806 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.007465, allocations: 165.9 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.007486, allocations: 25.7 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.007555, allocations: 126.9 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.007577, allocations: 3.953 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.007628, allocations: 27.31 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000249/0.007877, allocations: 496.1 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.007934, allocations: 12.12 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.007985, allocations: 15.98 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.008098, allocations: 31.67 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0081, allocations: 0 / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.008279, allocations: 53.88 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.008292, allocations: 4.094 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008296, allocations: 4 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.008311, allocations: 3.984 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.008406, allocations: 11.92 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00841, allocations: 4 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.008463, allocations: 3.938 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.008473, allocations: 3.984 kB / 0.8816 GB, free: 2.254 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.0001172/0.00859, allocations: 160.6 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.008605, allocations: 0 / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.008651, allocations: 7.312 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.008655, allocations: 7.938 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.008658, allocations: 0 / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.008663, allocations: 3.938 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.008789, allocations: 120.6 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00879, allocations: 0 / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.008859, allocations: 8 kB / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.008864, allocations: 3.984 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.008872, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.008875, allocations: 4 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008876, allocations: 4 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.009102, allocations: 104.2 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.009142, allocations: 4 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.009159, allocations: 3.984 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.009212, allocations: 0 / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.009232, allocations: 4 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.009237, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.009307, allocations: 119.2 kB / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009307, allocations: 8.031 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002032/0.00951, allocations: 15.88 kB / 0.8821 GB, free: 1.617 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.000191/0.009701, allocations: 115.2 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.009881, allocations: 39.66 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009882, allocations: 0 / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.009949, allocations: 23.67 kB / 0.8823 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01014, allocations: 12 kB / 0.8823 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.01051, allocations: 118.4 kB / 0.8824 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.01056, allocations: 55.36 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.455e-05/0.01063, allocations: 11.94 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.01067, allocations: 16.48 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01067, allocations: 4 kB / 0.8825 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Templates: time 0.003833/0.0145, allocations: 0.7952 MB / 0.8833 GB, free: 400 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.347353153978474]